Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel - Updating links

Status
Not open for further replies.

dooby12

Technical User
Jun 18, 2003
67
GB
I will be re-arranging a major directory on our network, which will involve removing shares etc.

The problem i have is our users use spreadsheets with links to other sheets. These could be either through drive letters or UNC paths.

How can i update all links in spreadsheets to reflect the new path?

Thanks in advance
 


Hi,

Edit/Replace.

Skip,
[sub]
[glasses] [red]Be Advised![/red]
The band of elderly oriental musicians, known as Ground Cover, is, in reality...
Asian Jasmine![tongue][/sub]
 
how is that going to update 500 excel documnets in my directory all with multipe links to other areas on the network?
 

This post should relly be addressed in the VBA Visual Basic for Applications (Microsoft) Forum707

I'd build a Was-Is table.

Then I'd macro record making an Edit/Replace in one sheet.

Then I'd write some code to loop thru the folder containing my workbooks to Open, loop thru each sheet, loop thru my was-is table and do my edit/replace.

Check out the FileSystemObject.





Skip,
[sub]
[glasses] [red]Be Advised![/red]
The band of elderly oriental musicians, known as Ground Cover, is, in reality...
Asian Jasmine![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top