View Single Post
  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Lisa Wilke-Thissen Lisa Wilke-Thissen is offline
external usenet poster
 
Posts: 123
Default Find all instances of a certain word and replace with hyperlink of same word

Hi Tom,

"duffdeal" wrote
I would like a macro or method to find and replace instance of
a word in a large word document with a hyperlink who's display
text is the same as the original word.


Example: I would search for 'project' and replace all instances
with a hyperlink www.example.com with the display text remaining
'project'.


1. create a hyperlink (Ctrl+K ...) you need,
2. select, and copy the hyperlink (Ctrl+C),
3. Ctrl + H:
Find what: [your word, e. g. project]
Replace with: ^c [= content of clipboard]

--
Cheers
Lisa [MS MVP Word]