Hello all:
I have the following code to retrieve doucments:
strPath = "G:\Corp\Customer Files\"
Application.FollowHyperlink strPath & "\" & textbox1 & "-" & textbox2 & ".doc"
This works fine from my computer because the shared drive on my computer is saved on the G drive.
I tried using the code from a coworker's computer, but got an error because her shared drive is : "X:\Corp\Customer Files\"
Basically anyone can access the Corp server through any drive depends on how it was mapped.
How do I get around this so that it works from any computer as long as the user has the Corp share drive?
Thanks much.
I have the following code to retrieve doucments:
strPath = "G:\Corp\Customer Files\"
Application.FollowHyperlink strPath & "\" & textbox1 & "-" & textbox2 & ".doc"
This works fine from my computer because the shared drive on my computer is saved on the G drive.
I tried using the code from a coworker's computer, but got an error because her shared drive is : "X:\Corp\Customer Files\"
Basically anyone can access the Corp server through any drive depends on how it was mapped.
How do I get around this so that it works from any computer as long as the user has the Corp share drive?
Thanks much.