Microsoft KB Archive/89348

= WD: Creating All Odd- or All Even-Numbered Pages in a Document =

Article ID: 89348

Article Last Modified on 11/16/2006

-

APPLIES TO


 * Microsoft Word 1.0 Standard Edition
 * Microsoft Word 1.1 Standard Edition
 * Microsoft Word 1.1 Standard Edition
 * Microsoft Word 2.0 Standard Edition
 * Microsoft Word 2.0a
 * Microsoft Office Word 2003
 * Microsoft Word 2.0c
 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 6.0a
 * Microsoft Word 6.0c
 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 95 Standard Edition
 * Microsoft Word 95a
 * Microsoft Word 6.0 for Macintosh
 * Microsoft Word 6.01 for Macintosh
 * Microsoft Word 6.01 for Macintosh
 * Microsoft Word 98 for Macintosh

-



This article was previously published under Q89348





SUMMARY
To create all odd-numbered or all even-numbered pages in a Microsoft Word document (for example, 1,3,5,7... or 2,4,6,8...), use an expression field ({=}) in conjunction with a PAGE field ({PAGE}).



MORE INFORMATION
To create all odd-numbered pages, insert the following field in the document header or footer:

{={page} + {={page} - 1}}.

To create all even-numbered pages, insert the following field in the document header or footer:

{={page} + {page}}

NOTE: If you want to number each page in the same way throughout all sections, add page numbers before you add section breaks. However, if you already added section breaks and want to add page numbers, position the insertion point in the first section of the document and then insert page numbers or the fields mentioned above.

NOTE: To create the braces &quot;{}&quot;, press CTRL+F9 in Word for Windows, COMMAND+F9 in Word for the Macintosh.

Word 98 Macintosh Edition
For more information about formulas, click the Office Assistant, type &quot;formula,&quot; click Search, and then click &quot;Field codes = (Formula) field.&quot;

NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If Word Help is not installed on your computer, please see the following article in the Microsoft Knowledge Base:

120802 Office: How to Add/Remove a Single Office Program or Component

Word 7.0 for Windows 95
In Microsoft Word 7.0, for more information in using the formula field, do the following:


 * 1) On the Help menu, click Microsoft Word Help Topics.
 * 2) Type formula.
 * 3) Select &quot;Field codes = (Formula) field&quot; and click Display

Word 6.x
In Microsoft Word 6.x, for more information in using the formula field, do the following:


 * 1) On the Help menu, click &quot;Search for Help on.&quot;
 * 2) Type formula.
 * 3) Select Formula Field and then click Show Topics.
 * 4) Select a topic and click Go To.

Word 1.x or 2.x
In Word 1.x, 2.x, for more information on using the expression field, search for &quot;Expression field&quot; using the Help menu.

