Welcome toWord.Tips.Net
Ask a Word Question
Make a Comment
Learn Access Now
Free Printable Forms
Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips
Collapsing and Expanding Subdocuments
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.
Tip #3825 applies to Microsoft Word versions: 97 2000 2002 2003 2007
Step Up and Take Control! Subscribers to WordTips know just how valuable a resource it is. WordTips Premium provides twice the number of exceptional, easy-to-understand tips every week in an ad-free newsletter, as well as substantial discounts on WordTips archives and e-books.