WD: {SECTIONPAGES} Field Loses Formatting

Last reviewed: March 3, 1998
Article ID: Q153784
The information in this article applies to:
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows

SYMPTOMS

Direct formatting, such as bold, italics, 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's 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: Clear Preserve Formatting During Updates

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 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 Style

Modify the Header (or Footer) style to include the formatting you want.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.


Additional query words:
Keywords : kbfield word7 word8 word95 word97 kbdta
Version : WINDOWS:7.0,7.0a,97
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbpending


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 3, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.