Results 1 to 2 of 2
2010-09-03, 05:58 #1
- Join Date
- Jan 2001
- Manchester, Gtr Manchester, England
- Thanked 0 Times in 0 Posts
I have a document which, on first glance, appears to contain a number of fields; however, closer inspection reveals the 'fields' are just text surrounded by double angle quotes.
Many of the 'fields' appear multiple times throughout the document.
I need to replace all occurences of text contained with << >> with a mergefield of the same name but don't know how to go about it. Any ideas?
2010-09-11, 03:54 #2
- Join Date
- May 2002
- Canberra, Australian Capital Territory, Australia
- Thanked 405 Times in 334 Posts
Short of writing a macro - which would be more effort than it's worth for something that might only be used a few times, you could use Find/Replace.
For example, suppose you want to replace all instances of <<MyField>> with the corresponding mergefield (or another field for that matter). The first step is to insert an instance of the actual field you want to use, perhaps next to the string you want to replace. Then, copy the <<MyField>> string and paste it into the Find box on the Find/Replace dialogue box. Switch back to the document and cut out the mergefield you inserted. Return to the Find/Replace dialogue box and insert ^c into the Replace box. Finally, click 'Replace all'. Repeat as necessary for the other field strings.Cheers,
[MS MVP - Word]