Microsoft KB Archive/100424

From BetaArchive Wiki



WD: WinWord 2.0: How to Create Legal Page Numbering

Last reviewed: July 30, 1997
Article ID: Q100424



The information in this article applies to:

  • Microsoft Word for Windows, versions 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c

SUMMARY

In Word for Windows, legal page numbering (that is, 1.1, 1.2, 2.1, 2.2, and so on) is unavailable with the PAGE field. However, you can produce this style of page numbering using a combination of fields.

For example, you can produce the following legal page numbering format using fields:

   Sample Legal Numbering Scheme
   -----------------------------

   1.1    (first page of document)
   1.2    (second page of document)
   2.1    .
   2.2    .
   3.1    .
   3.2    .
   4.1    (seventh page of document)
   4.2    (eighth page of document)

MORE INFORMATION

To produce legal page numbering, insert the following fields in the document header or footer:

   {=ROUND({PAGE}/2,0)}.{=IF(MOD({PAGE},2)=0,2,1)}

The first field divides the current page number by 2 and rounds it up to the next integer. The second field uses the EXPRESSION field function IF to determine whether to print a "2" or a "1". It uses the MOD function to determine if the page number is odd or even. If the page number is even, the MOD function returns 0 (zero), so the IF statement returns "2". If the MOD function returns a non-zero value, the IF statement returns "1". For more information on the EXPRESSION field and IF or MOD functions, search for "expression field" using the Help menu.

Reference(s):

"Microsoft Word for Windows and OS/2 Technical Reference," pages 340, 341, 366

Keywords          : kbfield kbhowto winword winword2 kbusage
Version           : 1.0 1.10 1.10a 2.0 2.0a 2.0a



================================================================================



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: July 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.