Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Links / December 2007

Tip: Looking for answers? Try searching our database.

hyperlinks

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
brian.freed@globalproductsinc.com - 06 Dec 2007 22:47 GMT
number one when my users do insert hyperlink and browse to a network
drive using excel outlook etc... it puts the unc path in to the server
where the file is located is there away to make it use the drive
letter in all cases?  Also is there an easy way to chang the existing
links over after the fact maybe to use the hyperlink function in excel
or whatever. reason to use the drive letter is there is a replicated
site (our second office) with its own server where the files are
stored that is going to have huge challenges very shortly if i can't
do this.  Thanks in advance for any and all help!!!
Gary''s Student - 07 Dec 2007 11:08 GMT
This may help for "easy" hyperlinks ( without SubAddresses )

Three steps:

1. Convert all the Inserted hyperlinks into hyperlink formulas with the
following macro:

Sub hyper_converter()
Dim h As Hyperlink
dq = Chr(34)
beginning = "=hyperlink(" & dq
middle = dq & "," & dq
ending = dq & ")"
For Each h In ActiveSheet.Hyperlinks
   s1 = h.Address
   s2 = h.TextToDisplay
   Set r = h.Range
   r.Clear
   r.Formula = beginning & s1 & middle & s2 & ending
Next
End Sub

2. Using Find/Replace force any url's in the formulas back to the mapped
drive letters.

3. Test the result.
Signature

Gary''s Student - gsnu2007b

> number one when my users do insert hyperlink and browse to a network
> drive using excel outlook etc... it puts the unc path in to the server
[quoted text clipped - 5 lines]
> stored that is going to have huge challenges very shortly if i can't
> do this.  Thanks in advance for any and all help!!!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.