Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a form that allows the user to create a link to a word doc.
It also has a browse button to allow them to go find word doc if need be. Problem, These files are on a network drive which every one has mapped differently so my mapping to the doc may be Z:\2006\Property\92227.doc but someone else may be W:\2006\Property\92227.doc BUT... The network address is the same \\NetDrive\2006\Property\92227.doc Is there a way that when the ok button on the form is hit and this link is created that it will always use the network address? Even when The network address is put in the text box that is used to create the link it will still, not always, uses the mapped drive address so when the form is brought back up it shows the mapped drive instead of the network drive and the links do not always work. I hope that makes sense. Any help? Thank You |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
There is an API call which will get the UNC path from a mapped drive letter.
Google for "VBA UNC API" Tim -- Tim Williams Palo Alto, CA "Shawn G." wrote in message ... I have a form that allows the user to create a link to a word doc. It also has a browse button to allow them to go find word doc if need be. Problem, These files are on a network drive which every one has mapped differently so my mapping to the doc may be Z:\2006\Property\92227.doc but someone else may be W:\2006\Property\92227.doc BUT... The network address is the same \\NetDrive\2006\Property\92227.doc Is there a way that when the ok button on the form is hit and this link is created that it will always use the network address? Even when The network address is put in the text box that is used to create the link it will still, not always, uses the mapped drive address so when the form is brought back up it shows the mapped drive instead of the network drive and the links do not always work. I hope that makes sense. Any help? Thank You |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Moving rows with Hyperlink doesn't move hyperlink address | Excel Discussion (Misc queries) | |||
Skittish Ne0x address on network printer | Excel Programming | |||
Skittish Ne0x address on network printer | Excel Programming | |||
Network address not Local Address | Excel Programming | |||
reading html when hyperlink address not hyperlink text diplayed | Excel Programming |