I need to delete all of the field codes from my document in
Word 2002. Is there any way to do this?
Thanks for your help!
Best regards,
Elizabeth
Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL ADDRESS - 08 Jan 2004 01:35 GMT
Hi Elizabeth,
If you want to retain the data that is displayed by the fields, select the
whole document and then use Ctrl+Shift+F9. That will convert the data to
ordinary text. If you want to hide the display of field codes (toggle them
off), use Alt+F9. If you actually want to delete the fields (and their
contents) completely, run a macro containing the following code:
Dim i As Long
For i = ActiveDocument.Fields.Count To 1 Step -1
ActiveDocument.Fields(i).Delete
Next i
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
>I need to delete all of the field codes from my document in
> Word 2002. Is there any way to do this?
[quoted text clipped - 3 lines]
> Best regards,
> Elizabeth
Greg Maxey - 08 Jan 2004 01:44 GMT
Elizabeth,
CTRL+a to select all and CTRL+SHIFT+F9 will turn all field codes results to
text.

Signature
Greg Maxey
A peer in "peer to peer" support
Rockledge, FL
To e-mail, edit out the "w...spam" in gmaxey@whamspammvps.org
> I need to delete all of the field codes from my document in
> Word 2002. Is there any way to do this?
[quoted text clipped - 3 lines]
> Best regards,
> Elizabeth
Graham Mayor - 08 Jan 2004 07:40 GMT
In addition to the methods suggested, if you want to remove the fields
completely use Word's replace function to replace ^d with nothing.

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP
E-mail gmayor@mvps.org
Web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
> I need to delete all of the field codes from my document in
> Word 2002. Is there any way to do this?
[quoted text clipped - 3 lines]
> Best regards,
> Elizabeth
Charles Kenyon - 09 Jan 2004 22:59 GMT
The methods suggested won't get at fields in the headers and footers. If you
need to reach them, I would suggest first going into header/footer view and
Ctrl-A, Ctrl-Shift-F9 in each header and footer. That is, do it before
converting the body text because the header / footer may rely on the
existence of some field in the body of the document and may not come out
right if the underlying fields are converted first.

Signature
Charles Kenyon
Word New User FAQ & Web Directory:
<URL: http://addbalance.com/word/index.htm>
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide)
<URL: http://addbalance.com/usersguide/index.htm>
See also the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
> I need to delete all of the field codes from my document in
> Word 2002. Is there any way to do this?
[quoted text clipped - 3 lines]
> Best regards,
> Elizabeth