Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    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?

  2. #2
    Super Moderator macropod's Avatar
    Join Date
    May 2002
    Canberra, Australian Capital Territory, Australia
    Thanked 470 Times in 387 Posts
    Hi Darsha,

    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.

    Paul Edstein
    [MS MVP - Word]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts