Microsoft KB Archive/212007

= WD2000: {SectionPages} Field Loses Formatting =

Article ID: 212007

Article Last Modified on 12/6/2000

-

APPLIES TO


 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q212007





SYMPTOMS
Direct formatting, such as bold, italic, or underline formatting, applied to the SectionPages field, may not be retained when the SectionPages field is positioned with other text or fields inside the document header. This problem is intermittent and occurs when the SectionPages field accompanies other text, similar to this:

Page {Page} of {SectionPages}.

In contrast, direct formatting applied to a SectionPages field is retained when the field is not surrounded by other text or fields.



WORKAROUND
To work around this problem, use any of the following methods.

Method 1: Turn Off the "Preserve Formatting During Updates" Option
Clear the Preserve Formatting During Updates check box when you insert the field code. (To locate this option, click Field on the Insert menu.)

-or-

If you have already inserted the field, turn on field codes view by pressing ALT+F9 and remove the "\*Mergeformat" switch from the field code.

Method 2: Insert the Field Manually
Insert the SectionPages field manually. To insert the field braces, press CTRL+F9 and then type the field name inside the field braces.

Method 3: Modify the Style
Modify the header (or footer) style to include the formatting you want.

Keywords: kbprb kbfield KB212007

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.