#1   Report Post  
Ket
 
Posts: n/a
Default Hyperlinks

Hello,

I am using Excel 2003 with Office XP.

I have an excel workbook that contains a number of hyperlinks to other
workbooks.
My workbook and the other workbooks have been moved onto a different
server and now, obviously, the links do not work.

Is there an easy way to re-establish these links without having to do
each one again manually. There are hundreds of links in my workbook.

Many thanks.

Ket
London
  #2   Report Post  
HiArt
 
Posts: n/a
Default


hi Ket,

a bit of VBA will do the trick.

Code:
--------------------

For Each h in Worksheets(1).Hyperlinks
Replace( Expression := h.address, _
Find := "old_server_name", _
Replace := "new_server_name" )
Next

--------------------


HTH

Art


--
HiArt
------------------------------------------------------------------------
HiArt's Profile: http://www.excelforum.com/member.php...o&userid=19953
View this thread: http://www.excelforum.com/showthread...hreadid=378039

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
Why do long hyperlinks get truncated on save in Excel? colerb Excel Worksheet Functions 1 June 13th 05 10:37 PM
Addressing hyperlinks in excel Owen Dodd Excel Discussion (Misc queries) 1 April 20th 05 08:35 PM
Changing Hyperlinks? Madvikefan Excel Discussion (Misc queries) 2 April 14th 05 04:52 PM
Can 2 different hyperlinks be in the same Excel cell? rynes01 Excel Worksheet Functions 2 December 7th 04 05:15 PM
up-date hyperlinks in Excel PM Excel Worksheet Functions 0 November 11th 04 11:55 AM


All times are GMT +1. The time now is 06:16 AM.

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

About Us

"It's about Microsoft Excel"