excel 2010 hyperlinks breaking when moving file

I am having all kinds of trouble with keeping hyperlinks working.  Problem first noticed when I moved the file from one network directory to another.  Then, I was updating all the hyperlinks one by one to fix.  I got about halfway through, and now some work and some don't.  I have also messed around some with setting the File/Properties/hyperlink base setting.

I have also tried setting the hyperlink by navigating to the mapped network drive and also by setting using the longer full UNC path.

I just want to know - what is the secret to setting a hyperlink and making it continue to work - even if I move the file.  And, what path should I have in the File/Properties/hyperlink base setting?
Who is Participating?
FaustulusConnect With a Mentor Commented:
There are absolute and relative hyperlink addresses. An absolute address contains the full information, a relative one only a part. If you provide only a part of the link's address the remainder can be provided by the Hyperlink Base property. For example, if the absolute path is D:\my workbook.xlsx you could enter myworkbook.xlsx as a relative address and set the Hyperlink Base property to D:\. Later, if you decide to move the file to drive F: you just change the Hyperlink Base property to point to F:\
If you create a hyperlink while the Hyperlink Base property is not set (it is blank by default) the new link will be absolute. But if you set the Hyperlink Base property to D:\ and then specify D:\my workbook.xlsx in the dialog box the hyperlink in the worksheet will point to my workbook.xlsx, dropping the part of the address that is specified in the Hyperlink Base. But if you specify F:\my workbook.xlsx while the Hyperlink Base property has D:\ the hyperlink in your worksheet will be faulty because of the discrepancy between the paths specified in the dialog box and the Hyperlink Base property. If you wanted to link to F:\ you would need to clear the Hyperlink Base property and create your link. Then set the Base property back to D:\ (or just D:) so that the existing hyperlink that has no drive letter points at D:\my workbook.xlsx again. The hyperlink pointing to F:\my workbook.xlsx would be unaffected by this change.
Since the other link points at my workbook.xlsx it would still work if the target workbook is open but it would fail if it is closed while the Hyperlink Base property isn't set or points to a path where the file can't be found.
It isn't complicated at all - once you know how it works. :-)
Michael de LangeCommented:
Strangely whenever i create a hyperlink, and i change the Hyperlink Base property to Q: (were my .xslx is saved) it just won't work.
Neither does it work, when i change the hyperlink base to F: and i move the .xslx to F.
Somehow my hyperlinks stay broken every time i move the .xslx file, no matter how i change the Hyperlink Base.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.