Thread: hyperlinks
View Single Post
  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default hyperlinks

On Wed, 1 Oct 2008 11:07:01 -0700, Dave wrote:



"Jay Freedman" wrote:

Dave wrote:
I have a question. I have a stack of word documents and pdf's that
contain hyperlinks to a url that my company has done away with (dead
links). Is there a simple macro of something that will allow me to
electronically search a word doc for a hyperlink destination url?
simple macro? (no vb answers please)

Thanks!
d


No macro needed.

Press Alt+F9 to toggle from field results to field codes. The hyperlinks
(which are a type of field) will now appear as something like

{ HYPERLINK "your URL here" }

Now you can use the ordinary Replace dialog to search for the URL and
replace it with something else.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.


Jay, Great answer, you just saved me a mountain of work. Do you or anyone have advice for pdf's too?
Thanks
Dave


One of the major features of PDF is that it isn't directly editable. To change
links in PDF files, you'll need to go back to the original documents used to
create the PDFs, or use OCR software or one of the PDF-to-Word converters
(http://www.google.com/search?q=pdf+to+word) if the originals aren't available.
Change the links in the documents and then regenerate the PDF.


--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.