Hi all,
I would appreciate help with above.
I have coding as follows:
ChDir _
"Z:\SAP_HR\Ginnys_Folder\"
as part of an Open File sub routine. My directory will never change although the file to open will have a different name each time.
Here's my problem. The above works perfectly once my starting point is somewhere on the Z Drive. I have a number of drives and I could run this macro from any drive. If I'm on the C Drive, then the Macro opens the C Drive and I have to navigate manually. Any suggestions?
rgs
Ginny
I would appreciate help with above.
I have coding as follows:
ChDir _
"Z:\SAP_HR\Ginnys_Folder\"
as part of an Open File sub routine. My directory will never change although the file to open will have a different name each time.
Here's my problem. The above works perfectly once my starting point is somewhere on the Z Drive. I have a number of drives and I could run this macro from any drive. If I'm on the C Drive, then the Macro opens the C Drive and I have to navigate manually. Any suggestions?
rgs
Ginny