WD: Cannot Replace All Occurrences of Invalid MERGEFIELD Field

Last reviewed: February 2, 1998
Article ID: Q105693
The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows
  • Microsoft Word for the Macintosh, versions 6.0, 6.0.1
  • Microsoft Word 98 Macintosh Edition

SYMPTOMS

When you click the Check For Errors button on the Print Merge toolbar, Word for Windows may prompt you repeatedly for the same invalid MERGEFIELD field.

CAUSE

Word prompts you to correct each instance of invalid MERGEFIELD fields in your mail merge main document, but there is no way to replace or remove all occurrences of a single incorrect field. You can only replace or remove one occurrence of a field at a time.

WORKAROUND

If your main document contains multiple instances of an invalid field, you can use the Replace command on the Edit menu to replace or remove all instances of the field at once.

To replace one MERGEFIELD field with another, follow these steps:

  1. In your main document, insert one instance of the correct MERGEFIELD fields.

  2. Select one of the invalid MERGEFIELD fields.

  3. On the Edit menu, click Copy.

  4. On the Edit menu, click Replace.

  5. Position the insertion point in the Find What box, and then press CTRL+V (COMMAND+V on the Macintosh) to paste the MERGEFIELD field.

  6. Leave the Edit Replace dialog box open and click in your document window to activate it (the Edit Replace dialog box is modeless).

  7. Select the correct MERGEFIELD field. On the Edit menu, click Copy.

  8. Click in the Edit Replace dialog box to activate it.

  9. Position the insertion point in the Replace With box, and then press CTRL+V (COMMAND+V on the Macintosh) to paste the MERGEFIELD field.

  10. Click Replace All.


Additional query words: repeats repeatedly several multiple times many
Keywords : kbmerge macword winword word6 word7 word8 word95 word97 macword98
Version : WINDOWS: 6.0, 7.0, 97; MACINTOSH: 6.0, 6.0.1, 98
Platform : MACINTOSH WINDOWS
Issue type : kbprb
Solution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 2, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.