Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, and 2013. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Removing Specific Fields.

Removing Specific Fields

by Allen Wyatt
(last updated June 28, 2014)

If you use fields in your documents, you may need a way to delete a specific type of field, while leaving all the other types of fields untouched. You can use the ^d special character in the Find What box when doing a Find and Replace, but the ^d is non-discriminating: It finds all fields.

There are two ways you can approach this problem. First, when using ^d, you can follow it by the field code you want to search. Thus, if you search for ^d XE you can find all the XE fields in the document, ignoring the rest.

The second way is to search using the ^19 character. This is the code for an opening field brace. Follow it by the field you want to select, as in ^19 DATE, and only those fields are found.

Regardless of whether you use ^d or ^19, you should pay attention to what immediately follows. Word is very forgiving of the number of spaces that can follow an opening field brace. It is possible for there to be no spaces after an opening brace or two, three, or more spaces. For this reason, you will want to search for both ^dXE (no spaces) and ^d^wXE (multiple spaces, with the ^w representing white space). The same goes for the second method: you can search for ^19DATE and ^19^wDATE.

When searching for specific fields, you need to make sure that the field codes are displayed in the document. If you don't display them, then Word will ignore the codes. You can display them all by pressing Alt+F9. In addition, you should make sure that hidden text is displayed.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13145) applies to Microsoft Word 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Word here: Removing Specific Fields.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Saving in a Macro Using a Desired File Name

Need to save a new document, from within a macro, to a specific file name? If you use the Record Macro capabilities of ...

Discover More

Changing the Default PivotTable Functions

When you create a PivotTable, Excel automatically sums the data that you place into the Data Items area of the table. ...

Discover More

Evaluating Formulas

Need a bit of help in figuring out how Excel is evaluating a particular formula? It's easy to figure out if you use the ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (ribbon)

Using the GotoButton Field

Need to jump from one place in your document to another? One way to do this is through the user of the GotoButton field, ...

Discover More

Implementing a Dynamic Document Control Table

Accurately and repeatedly referencing information within a document is a common task that needs to be done. One way to ...

Discover More

Word and Character Count Information

Using fields you can easily insert both the word and character counts for a document into the document itself. As those ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 5 + 2?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.