IN VBA I use the following command to navigate to a network drive and open a specific file.
In Cell K3 of Sheet1 I have a formula that fills in the username of the person opening the spreadsheet (this is a unique value).
Is there any way to use this username to open a specific file dependent on who opens it?
IE
\\ Network\Address\Folder\(Contents of Sheet1 K3).xlsm
Hope this makes sense.
Paul
Code:
Workbooks.Open Filename:= _
"\\ Network\Address\Folder\Filename.xlsm", Password:="ABC"
Is there any way to use this username to open a specific file dependent on who opens it?
IE
\\ Network\Address\Folder\(Contents of Sheet1 K3).xlsm
Hope this makes sense.
Paul