Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a spreadsheet with several hyperlinks and would lile to be able to
search each hyperlink in turn and replace part of the text with another, a sort of edit replace, (which doesn't edit the hyperlink formula) I would like to replace s:\ with x:\it\ Ideally I would like a popup box to ask for the replace and then the with. This would help with several other files, since we changed our folder structure. Also some were put in with insert hyperlink and some were put in with insert formula hyperlink Any advice would be extremely appreciated Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Find/replace should work just fine for =HYPERLINK() formulas. Starting with:
=HYPERLINK("file:///s:\Documents and Settings\User\Desktop\Book2.xls#Sheet2!B9") and replacing: s:\ with: x:\it\ results in: =HYPERLINK("file:///x:\it\Documents and Settings\User\Desktop\Book2.xls#Sheet2!B9") -- Gary''s Student - gsnu200817 "Big Mac" wrote: I have a spreadsheet with several hyperlinks and would lile to be able to search each hyperlink in turn and replace part of the text with another, a sort of edit replace, (which doesn't edit the hyperlink formula) I would like to replace s:\ with x:\it\ Ideally I would like a popup box to ask for the replace and then the with. This would help with several other files, since we changed our folder structure. Also some were put in with insert hyperlink and some were put in with insert formula hyperlink Any advice would be extremely appreciated Thanks |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks but I haven't used the hyperlink formula. instead my colleagues have
used the hyperlink button on the toolbar. This creates a hyperlink like in Word. To change this you have to use the Edit Hyperlink process. When you use edit and replace it only changes the visible part of the text "Text to display" and doesn't change the underlying hyperlink but I want to be able to search the document for this type of hyperlink and then change the path as there are thousands of entries like this Ay Ideas? "Gary''s Student" wrote: Find/replace should work just fine for =HYPERLINK() formulas. Starting with: =HYPERLINK("file:///s:\Documents and Settings\User\Desktop\Book2.xls#Sheet2!B9") and replacing: s:\ with: x:\it\ results in: =HYPERLINK("file:///x:\it\Documents and Settings\User\Desktop\Book2.xls#Sheet2!B9") -- Gary''s Student - gsnu200817 "Big Mac" wrote: I have a spreadsheet with several hyperlinks and would lile to be able to search each hyperlink in turn and replace part of the text with another, a sort of edit replace, (which doesn't edit the hyperlink formula) I would like to replace s:\ with x:\it\ Ideally I would like a popup box to ask for the replace and then the with. This would help with several other files, since we changed our folder structure. Also some were put in with insert hyperlink and some were put in with insert formula hyperlink Any advice would be extremely appreciated Thanks |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You could use the code from 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 Big Mac wrote: Thanks but I haven't used the hyperlink formula. instead my colleagues have used the hyperlink button on the toolbar. This creates a hyperlink like in Word. To change this you have to use the Edit Hyperlink process. When you use edit and replace it only changes the visible part of the text "Text to display" and doesn't change the underlying hyperlink but I want to be able to search the document for this type of hyperlink and then change the path as there are thousands of entries like this Ay Ideas? "Gary''s Student" wrote: Find/replace should work just fine for =HYPERLINK() formulas. Starting with: =HYPERLINK("file:///s:\Documents and Settings\User\Desktop\Book2.xls#Sheet2!B9") and replacing: s:\ with: x:\it\ results in: =HYPERLINK("file:///x:\it\Documents and Settings\User\Desktop\Book2.xls#Sheet2!B9") -- Gary''s Student - gsnu200817 "Big Mac" wrote: I have a spreadsheet with several hyperlinks and would lile to be able to search each hyperlink in turn and replace part of the text with another, a sort of edit replace, (which doesn't edit the hyperlink formula) I would like to replace s:\ with x:\it\ Ideally I would like a popup box to ask for the replace and then the with. This would help with several other files, since we changed our folder structure. Also some were put in with insert hyperlink and some were put in with insert formula hyperlink Any advice would be extremely appreciated Thanks -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
change color of all cells with formula or are part of a formula | Excel Discussion (Misc queries) | |||
Create a Hyperlink as part of a macro | New Users to Excel | |||
Change part of formula | Excel Worksheet Functions | |||
Is there a function to extract the URL part of a hyperlink in another cell? | Excel Worksheet Functions | |||
Keeping one part of a formula same, but change other cell ref? | Excel Discussion (Misc queries) |