validation help

sudburymetoo

Board Regular
Joined
Dec 15, 2008
Messages
59
//////Dim id, wsStart As Worksheet
Dim wbBook1 As Workbook, wbBook2 As Workbook
Dim bIsopen As Boolean
On Error Resume Next
Set wsStart = ActiveSheet
Set wbBook1 = Workbooks("mix.xls")
Set wbBook2 = ThisWorkbook

Dim iRow As Integer
iRow = "2"




If wbBook1 Is Nothing Then
bIsopen = True
Set wbBook1 = Workbooks.Open("G:\DBA\NY 201\DEPT 98921\mix.xls")


End If///////
===========================================================================================
I have workbook mix.xls on a shared network dr. Users have the above macro in their workbook on their own pc which they run to look up info in mix.xls. How can I modify the code so that a list of names in another workbook list.xls, on same network dr are validated with the users trying to access mix.xls. If name not found mix.xls will not open.
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
How can I modify the code so that a list of names in another workbook list.xls, on same network dr are validated with the users trying to access mix.xls.
... is it just me ... or doesn't that make sense?
 
Upvote 0

Forum statistics

Threads
1,224,570
Messages
6,179,611
Members
452,931
Latest member
The Monk

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top