Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
bnbbond
 
Posts: n/a
Default Replace hyperlink throughout excel

I had to move an excel file that I have over 200 hyperlinks to specific files
inside the same folders. The main hyperlink is common to all of the
hyperlinks, I need to know if there is a way I can do a search and replace a
piece of the hyperlink in excel. I'm using MS Excel 2003 SP1
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Replace hyperlink throughout excel

Take a look at David McRitchie's site:
http://www.mvps.org/dmcritchie/excel/buildtoc.htm
look for:
Fix Hyperlinks (#FixHyperlinks)

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

bnbbond wrote:

I had to move an excel file that I have over 200 hyperlinks to specific files
inside the same folders. The main hyperlink is common to all of the
hyperlinks, I need to know if there is a way I can do a search and replace a
piece of the hyperlink in excel. I'm using MS Excel 2003 SP1


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Replace hyperlink throughout excel

Outstanding tip - I was fretting about changing 200-400 hyperlinks in a
spreadsheet (because the server name had changed) but this script did the job
in seconds.


"Dave Peterson" wrote:

Take a look at David McRitchie's site:
http://www.mvps.org/dmcritchie/excel/buildtoc.htm
look for:
Fix Hyperlinks (#FixHyperlinks)

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

bnbbond wrote:

I had to move an excel file that I have over 200 hyperlinks to specific files
inside the same folders. The main hyperlink is common to all of the
hyperlinks, I need to know if there is a way I can do a search and replace a
piece of the hyperlink in excel. I'm using MS Excel 2003 SP1


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Replace hyperlink throughout excel

I'm sure David McRitchie will be pleased that it worked for you.

haslamslane wrote:

Outstanding tip - I was fretting about changing 200-400 hyperlinks in a
spreadsheet (because the server name had changed) but this script did the job
in seconds.

"Dave Peterson" wrote:

Take a look at David McRitchie's site:
http://www.mvps.org/dmcritchie/excel/buildtoc.htm
look for:
Fix Hyperlinks (#FixHyperlinks)

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

bnbbond wrote:

I had to move an excel file that I have over 200 hyperlinks to specific files
inside the same folders. The main hyperlink is common to all of the
hyperlinks, I need to know if there is a way I can do a search and replace a
piece of the hyperlink in excel. I'm using MS Excel 2003 SP1


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Replace hyperlink throughout excel

This worked great for me also.
I am having a problem though.
When i do correct the hyperlinks, some of them go back to the
previous way it was, or changes to some wierd format and I'm unable to use
the links at all.
Do you know what might be happening, or do i need to be more specific?

"Dave Peterson" wrote:

I'm sure David McRitchie will be pleased that it worked for you.

haslamslane wrote:

Outstanding tip - I was fretting about changing 200-400 hyperlinks in a
spreadsheet (because the server name had changed) but this script did the job
in seconds.

"Dave Peterson" wrote:

Take a look at David McRitchie's site:
http://www.mvps.org/dmcritchie/excel/buildtoc.htm
look for:
Fix Hyperlinks (#FixHyperlinks)

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

bnbbond wrote:

I had to move an excel file that I have over 200 hyperlinks to specific files
inside the same folders. The main hyperlink is common to all of the
hyperlinks, I need to know if there is a way I can do a search and replace a
piece of the hyperlink in excel. I'm using MS Excel 2003 SP1

--

Dave Peterson


--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Replace hyperlink throughout excel

Some people have said that if they change the hyperlink base
(file|properties|summary tab)
to something that is always available (C:\ for instance), it can help stop those
links from changing.

Maybe it'll work for you.

But that won't help fix the already messed up links.

I try to use the =hyperlink() worksheet function. I've never seen them do
anything bad.



bnbbond wrote:

This worked great for me also.
I am having a problem though.
When i do correct the hyperlinks, some of them go back to the
previous way it was, or changes to some wierd format and I'm unable to use
the links at all.
Do you know what might be happening, or do i need to be more specific?

"Dave Peterson" wrote:

I'm sure David McRitchie will be pleased that it worked for you.

haslamslane wrote:

Outstanding tip - I was fretting about changing 200-400 hyperlinks in a
spreadsheet (because the server name had changed) but this script did the job
in seconds.

"Dave Peterson" wrote:

Take a look at David McRitchie's site:
http://www.mvps.org/dmcritchie/excel/buildtoc.htm
look for:
Fix Hyperlinks (#FixHyperlinks)

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

bnbbond wrote:

I had to move an excel file that I have over 200 hyperlinks to specific files
inside the same folders. The main hyperlink is common to all of the
hyperlinks, I need to know if there is a way I can do a search and replace a
piece of the hyperlink in excel. I'm using MS Excel 2003 SP1

--

Dave Peterson


--

Dave Peterson


--

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
Find and replace should work in Excel text boxes Bob@Teton Excel Discussion (Misc queries) 0 October 20th 05 01:16 PM
find and replace links in Excel 2003 MAndrews Excel Worksheet Functions 2 June 3rd 05 06:18 PM
How do I find and replace part of a hyperlink that isn't visible? Dede Excel Discussion (Misc queries) 1 April 28th 05 12:15 AM
Excel hyperlink to another Excel file Frustrated Engineer Excel Discussion (Misc queries) 6 April 8th 05 02:56 PM
Hide hyperlink cell & replace with macros Jose Excel Worksheet Functions 1 February 14th 05 08:23 AM


All times are GMT +1. The time now is 01:18 AM.

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

About Us

"It's about Microsoft Excel"