Word 2003 Using Find to locate field brackets

G

Guest

In a long document with lots of fields, I noticed an occurrence of the
beginning and ending brackets {} but no field codes inside them.

Is there a way to search for these empty field brackets without looking
at every instance of a legitimate field?

Thanks for anyone's help.
Kathryn M
 
J

Jay Freedman

Kathryn said:
In a long document with lots of fields, I noticed an occurrence of
the beginning and ending brackets {} but no field codes inside them.

Is there a way to search for these empty field brackets without
looking at every instance of a legitimate field?

Thanks for anyone's help.

Hi Kathryn,

There may be a way, although it isn't perfect.

I'll assume that the empty field brackets were created by you (or someone)
pressing Ctrl+F9. (The only other ways I know of to get them are to edit a
field code and remove its contents, or to use a poorly written macro. Both
of these are improbable.) I'll also assume that all the legitimate fields
were inserted by the Insert > Field dialog and haven't been hand-edited
since then.

In that case, you can press Alt+F9 to display all field codes, and then use
Find or Replace to look for ^d followed by two spaces. The ^d finds the
opening field bracket. All legitimate field codes have one space after that
bracket, and then the code's keyword. There's another space preceding the
closing bracket. The "empty" field has just the two spaces between the
brackets.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top