Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old May 5th 09, 06:07 AM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 184
Default change hyperlinks from relative to absolute

Hi,

I have a table in excel that has 104 hyperlinks (all to different folders
with in shared network drives)

The links all worked fine until the original spreadsheet was moved to a new
location and now they don't.

I have figure out this is because they are relative links so was wondering
if there is an easy way to change them all to absolute links without redoing
them all.

I have come across a lot of people suggesting the =hyperlink formula but
that would still require retyping each one individually.

Any help would be great appreciated.

Regards

  #2   Report Post  
Old May 5th 09, 12:31 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 35,218
Default change hyperlinks from relative to absolute

A few people have said that this has stopped the problem from reoccurring.

In xl2003 menus:
File|Properties|Summary Tab|Hyperlink Base
change it to C:\
(something that's always available)

In xl2007:
Click on the Office button
Choose Prepare, then properties.
Then use the arrow on the Document Properties dropdown
Choose Advanced Properties
And then change the hyperlink base on the Summary tab.



I like to use the =hyperlink() worksheet function. It has never failed me this
way:

=hyperlink("file:////yourpathtothe/something.xxx","Click me")

You can even put the path in a dedicated cell and the filename in another.

=hyperlink("file:////" & $a$1 & A2,"Click me")

==============
If you have to change lots and lots and lots back...

You could use the code from David McRitchie's site:

http://www.mvps.org/dmcritchie/excel/buildtoc.htm
look for:
Fix Hyperlinks (#FixHyperlinks)

If you're new to macros:

Debra Dalgleish has some notes how to implement macros he
http://www.contextures.com/xlvba01.html

David McRitchie has an intro to macros:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Ron de Bruin's intro to macros:
http://www.rondebruin.nl/code.htm

(General, Regular and Standard modules all describe the same thing.)


Nikki wrote:

Hi,

I have a table in excel that has 104 hyperlinks (all to different folders
with in shared network drives)

The links all worked fine until the original spreadsheet was moved to a new
location and now they don't.

I have figure out this is because they are relative links so was wondering
if there is an easy way to change them all to absolute links without redoing
them all.

I have come across a lot of people suggesting the =hyperlink formula but
that would still require retyping each one individually.

Any help would be great appreciated.

Regards


--

Dave Peterson


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change relative to absolute references in a block of cells Giles Excel Discussion (Misc queries) 3 January 27th 09 02:19 PM
Relative and absolute hyperlinks Musette New Users to Excel 2 October 4th 07 06:47 AM
change a long column of references from relative to absolute ams228 New Users to Excel 1 January 17th 07 10:17 PM
How can you change excel macros from absolute to relative? Ralonne Excel Worksheet Functions 5 May 30th 06 07:40 PM
Globally change relative-addressed hyperlinks to absolute-addr Herman H Excel Worksheet Functions 1 November 20th 05 01:45 AM


All times are GMT +1. The time now is 09:14 PM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2004-2019 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017