Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Changing the color of the word {FIELD} in a Main merge document
In WordPerfect the {FIELD} codes are displayed in red so that when you
are creating the Main document, they stand out from the text of the Main document. Is there a way to have the Word {FIELD} codes display in a different color just when editing the Main document? When the merge is completed, the document would all be in the regular black font. Using 2002 with Windows XP. Thanks. |
#2
|
|||
|
|||
Run the following macro:
Dim amf As Field For Each amf In ActiveDocument.Fields If amf.Type = wdFieldMergeField Then amf.Code.Font.Color = wdColorRed End If Next amf ActiveDocument.Fields.ToggleShowCodes -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP wrote in message oups.com... In WordPerfect the {FIELD} codes are displayed in red so that when you are creating the Main document, they stand out from the text of the Main document. Is there a way to have the Word {FIELD} codes display in a different color just when editing the Main document? When the merge is completed, the document would all be in the regular black font. Using 2002 with Windows XP. Thanks. |
#3
|
|||
|
|||
Tools options view set 'field shading' to 'always' and the fields will
all be highlighted in grey. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org wrote: In WordPerfect the {FIELD} codes are displayed in red so that when you are creating the Main document, they stand out from the text of the Main document. Is there a way to have the Word {FIELD} codes display in a different color just when editing the Main document? When the merge is completed, the document would all be in the regular black font. Using 2002 with Windows XP. Thanks. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Making Word do something that Wordperfect can do | New Users | |||
In Word, how can I see all files (*.*) in "save as"? | New Users | |||
creating forms | Microsoft Word Help | |||
How do I create & merge specific data base & master documents? | New Users | |||
Continuous breaks convert to next page breaks | Microsoft Word Help |