Justincut
asked on
Macro stopping on different drive
Hi Guys, I have a Macro, which is on the w drive, but if my colleague wants to run it on the v drive, it will stop. How do you find out the exact server name so everyone can use the same program? Here's my code:
Workbooks.Open Filename:= _
"w:\Treasury Finance Controls\Ledger v SS Recs\Recs - Murex_GBO\2013 Recs\11_2013 Recs\OBS\Full Ledger\" & PrevDay & "\ALM OBS " & PrevDay & "*.xlsx" _
, Origin:=xlWindows
Rows("3:3").Select
Workbooks.Open Filename:= _
"w:\Treasury Finance Controls\Ledger v SS Recs\Recs - Murex_GBO\2013 Recs\11_2013 Recs\OBS\Full Ledger\" & PrevDay & "\ALM OBS " & PrevDay & "*.xlsx" _
, Origin:=xlWindows
Rows("3:3").Select
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi,
In Windows 7 you can select 'network location' if you right click the columns in explorer
to have the network location
Regards
In Windows 7 you can select 'network location' if you right click the columns in explorer
to have the network location
Regards
ASKER
so how do I adapt the code?