Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Change hyperlinks en masse?

Instead of
sOld = InputBox("Please enter the portion of the url that you wish to
change")
sNew = InputBox("Please enter the new portion of the url")
use sOld = "OldName"
and sNew = "NewName"

Dan E

"Dave Pratt" wrote in message
...
Yes, the location on the new server follows the same
path. All I really need to do is replace the reference to
the old server name in all of the hyperlinks. It should
be a slam dunk if I can get the right script (sort of
what's already been posted--thanks Mark D--, but
preferably without the textbox prompt since I know the new
server name).

Thanks!
Dave

-----Original Message-----
Dave,

Just a couple of quick questions about your hyperlinks.
I'm assuming they link to files on the old server.
Is their text in the cells that contain info about the

location on the old
server?
Will they be in a similar location on the new server
ie \\Old\Management\Filename to \\New\Managment\Filename

Dan E

"Dave Pratt" wrote in message
...
Greetings Gurus. Anyone know how to programmatically
change hyperlink addresses?

We moved a data share from a dying server to a newer

one,
and lo/behold a spreadsheet on another server has a

column
with several thousand entries pointing to the old

server.

Tried to use and alias record in DNS but that didn't

work.

I'd like to be able to script the changes to each cell

to
remove the reference to the server name since that

should
go into the properties of the spreadsheet anyways. But
the hyperlink location is buried into the cell

somehow...

At least the location and format of the hyperlinks are
predictable!

Thanks,
Dave



.



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
Hyperlinks: Hyperlinks change on copy/paste? Rick S. Excel Worksheet Functions 0 November 13th 07 08:19 PM
how do I break links to external workbooks en masse? Dave F Excel Discussion (Misc queries) 7 November 9th 07 09:52 PM
Change hyperlinks Laura Excel Discussion (Misc queries) 1 May 22nd 07 05:22 PM
macro to delete all named ranges in a workbook en masse? Dave F Excel Discussion (Misc queries) 1 November 3rd 06 09:17 PM
Concatenate en masse? SDP Excel Discussion (Misc queries) 6 September 7th 06 08:01 PM


All times are GMT +1. The time now is 03:56 PM.

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"