Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Did you adjust the hyperlink base, too?
bevchapman wrote: Thank you! The link to the David McRichie's FixHyperlink did the trick! You have save me an enormous amount of time! "Dave Peterson" wrote: A few people have said that this has stopped a similar problem from occurring. Maybe it'll help you--but you'll have to test it to make sure. 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 for this. I'll put the path in a hidden cell (A1 in my example). (Include the trailing backslash, too!) Then put the filenames in A2:Axxx Then use the =hyperlink() formula in B2:Bxx. =hyperlink("File:////"&$a$1&a2,"Click me") and drag down Then when I need to change the folder, I can change it one location (A1). I could embed the path directly in the formula: =hyperlink("File:////c:\my documents\excel\"& a2,"Click me") and use Edit|Replace, but that seems like more work to me. ======== If you used Insert|Hyperlink, then you've noticed that edit|replace won't touch those hyperlink addresses. Saved from a previous post: If you used Insert|hyperlink (xl2003 menus), you'll have more work to do. But the good news is David McRitchie has done most of it for you: 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.) bevchapman wrote: All my hyperlinks have changed their path - switched the drive and point to a directory that doesn't even exist. Not sure how this could happen as I cannot find a way to change them all back without doing it individually. I have Approx. 3500 links! Any ideas on how to correct these links all at once would be greatly appreciated. -- Dave Peterson -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hyperlinks being changed | Excel Discussion (Misc queries) | |||
Changed Hyperlinks !! | Excel Worksheet Functions | |||
File path of external link changed | Links and Linking in Excel | |||
Why would hyperlinks in a spreadsheet change to an invalid path? | Excel Discussion (Misc queries) | |||
Remove Hyperlinks...show the Path | Excel Discussion (Misc queries) |