-
Hyperlink Address changing
I'm using filesearch to create a list of hypelinks to files. A typical address stored is
\\Dellp\Archdata\Incoming\P-1847\GWP\2010-03-24 1\L6-GA(09)_127 Level 6 Fire Strategy 1 of 2_1.0 - (18702).pdf
Going back to the book later, the link is failing and the address has changed to
../../../../Archdata/Incoming/P-1847/GWP/2010-03-24%201/L6-GA(09)_127%20Level%206%20Fire%20Strategy%201%20of%202_1.0%20-%20(18702).pdf
Any thoughts on how to prevent this?
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'
-
I'm sure you know that the backslash "\" is DOS/Windows convention and the forward slash is Unix/Network convention; The leading double backslashes mean DellP is in the root of the same drive as the book; The double dot slash represents the next directory up; and, the %20 is the convention for spaces in URLs.
Both the double backslashes and the "../'s" indicate relative URLs.
Is there any way to encapsulate the URL in the hyperlink with double quotes? That might fix'er up.
Or you might have to include the Drive letter in the URL, a fully qualified path.
Or both.
idunnonothing
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules