Table of Contents

Previous

Next


Deleting Variables in Word

Delete a variable in a Microsoft Word source document when you no longer want to use the variable. Before you delete a variable, ensure you search for the variable and delete or replace all references to the variable. If your source document still contains a reference to a variable after you delete it, Microsoft Word displays errors in places where a reference to a deleted variable still exists.

The following procedure provides an example of how to delete variables in Microsoft Word source documents using Microsoft Word 2003. Steps for deleting variables in Microsoft Word may be different in other versions of Microsoft Word.

To delete a variable in a Microsoft Word source document

  1. Open the Microsoft Word source document that contains the variable you want to delete.

  2. Press Alt+F9 to display all field codes in the source document.

  3. Search for and replace all references to the variable you want to delete.

  4. On the File menu, click Properties.

  5. On the Custom tab, in the Properties field, select the name of the variable you want to delete in the Name column.

  6. Click Delete.

  7. Click OK.

  8. On the Edit menu, click Select All.

  9. Press the F9 key. Microsoft Word updates the fields in your Microsoft Word source document. If there are any fields that reference the deleted variable in your source document, Microsoft Word displays an error message in the field.

  10. Search for the word Error in your Microsoft Word source document to verify no references to the deleted variable remain in your source document.

  11. Save your Microsoft Word source document.

ePublisher/2008.3/Help/Preparing_and_Publishing_Content/Preparing_Word_Files.2.30 (last edited 2008-10-11 06:33:22 by BenAllums)