Stripping Field Codes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there any way to strip a document of all field codes, other than showing all field codes and deleting them manually? Thanks!
 
ParaJoy said:
Is there any way to strip a document of
all field codes, other than showing all field
codes and deleting them manually? Thanks!


Hi,

Ctrl+A (to select everything),
Ctrl+Shift+F9 (to "unlink" the fields in the selection).

"Unlinking" turns the fields into the plain text they currently display,
and likely is much better than deleting them.

Regards,
Klaus
 
If you don't want to lose the information contained in the fields, select
all and Ctrl+6 to unlink the fields, which converts them from fields to
normal text. If you want to strip the information contained in the fields
as well, instead do a global find and replace. Use "^d" for the find, which
is the find expression for fields, and leave the replace with field blank,
then click Replace All.

Regards,
Chad


ParaJoy said:
Is there any way to strip a document of all field codes, other than
showing all field codes and deleting them manually? Thanks!
 
Parajoy,

When you say "strip all field codes," do you mean trun the existing field
text into hard text or delete the field and its text?

The former - CTRL+a (select all), CTRL+SHIFT+F9

The latter:

CTRL+a, ALT+F9 (toggle field codes), Edit>Replace. Type ^d in the find what
field, leave replace with blank and press Replace all.
 
Thanks to Klaus, Chad and Greg for your help. It turns out I needed both of those methods to clean up this document. That's what happens when 85,000 people work on the same document! Thanks again, guys.
 
this gave me some relief but I have 267changes to make in the template
(Employment Manual Outline) and the field code, {MACROBUTTON DoFieldClick
Progressive Integrations} creates a shaded field with the "Progressive
Integrations" in it. I would like to globally convert this specific
field/macro (all 267 of them) to just plan text.... is that possible?
 
Hi,

Try Ctrl-A then Ctrl-Shift-F9 - this should convert ALL fields to plain text.

Cheers
 
That worked great, however, it unlinked my table of contents, and everything
else that I did want... I reverted it back to the original doc as....

do you know how to do that?
macropod said:
Hi,

Try Ctrl-A then Ctrl-Shift-F9 - this should convert ALL fields to plain text.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Frustrated with fields and macros!!!!!!! said:
this gave me some relief but I have 267changes to make in the template
(Employment Manual Outline) and the field code, {MACROBUTTON DoFieldClick
Progressive Integrations} creates a shaded field with the "Progressive
Integrations" in it. I would like to globally convert this specific
field/macro (all 267 of them) to just plan text.... is that possible?
 
Try this instead:

1. Press Alt+F9 to display field codes.

2. Open the Find (not Replace) dialog.

3. Check the box for "Highlight all items found..."

4. In the "Find what" box, type "^19 MACROBUTTON DoFieldClick Progressive
Integrations" (without the quotation marks; if you have no other MacroButton
fields in the doc, you can stop after MACROBUTTON). Anything that includes
^19 (the code for an opening field brace) will select the entire field.

5. Click Find All.

6. Click on the title bar of the document to return focus to the document
without deselecting the selected items.

7. Press Ctrl+Shift+F9 to unlink the fields.

Alternatively, you could use Find and Replace to find the fields and replace
them with the text "Progressive Integrations," assuming that that's what
they all say. Note that if the MacroButton fields have been used (someone
has typed in them), then they've been converted to plain text already.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Frustrated with fields and macros!!!!!!!"
That worked great, however, it unlinked my table of contents, and everything
else that I did want... I reverted it back to the original doc as....

do you know how to do that?
macropod said:
Hi,

Try Ctrl-A then Ctrl-Shift-F9 - this should convert ALL fields to plain text.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

this gave me some relief but I have 267changes to make in the template
(Employment Manual Outline) and the field code, {MACROBUTTON DoFieldClick
Progressive Integrations} creates a shaded field with the "Progressive
Integrations" in it. I would like to globally convert this specific
field/macro (all 267 of them) to just plan text.... is that possible?

:

If you don't want to lose the information contained in the fields, select
all and Ctrl+6 to unlink the fields, which converts them from fields to
normal text. If you want to strip the information contained in the fields
as well, instead do a global find and replace. Use "^d" for the find, which
is the find expression for fields, and leave the replace with field blank,
then click Replace All.

Regards,
Chad


Is there any way to strip a document of all field codes, other than
showing all field codes and deleting them manually? Thanks!
 
Well, you did ask "Is there any way to strip a document of all field codes"!

If you want to do everything but the TOC, then select all of your document except for the TOC, then use Ctrl-Shift-F9. Otherwise,
use Suzanne's method.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------
Frustrated with fields and macros!!!!!!! said:
That worked great, however, it unlinked my table of contents, and everything
else that I did want... I reverted it back to the original doc as....

do you know how to do that?
macropod said:
Hi,

Try Ctrl-A then Ctrl-Shift-F9 - this should convert ALL fields to plain text.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Frustrated with fields and macros!!!!!!! said:
this gave me some relief but I have 267changes to make in the template
(Employment Manual Outline) and the field code, {MACROBUTTON DoFieldClick
Progressive Integrations} creates a shaded field with the "Progressive
Integrations" in it. I would like to globally convert this specific
field/macro (all 267 of them) to just plan text.... is that possible?

:

If you don't want to lose the information contained in the fields, select
all and Ctrl+6 to unlink the fields, which converts them from fields to
normal text. If you want to strip the information contained in the fields
as well, instead do a global find and replace. Use "^d" for the find, which
is the find expression for fields, and leave the replace with field blank,
then click Replace All.

Regards,
Chad


Is there any way to strip a document of all field codes, other than
showing all field codes and deleting them manually? Thanks!
 

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

Back
Top