Microsoft KB Archive/79592

= WD: Numbering Columns, Creating Page Numbers for Folded Pages =

Article ID: 79592

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 95 Standard Edition
 * Microsoft Word 95a
 * Microsoft Word 97 Standard Edition
 * 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 Q79592



SUMMARY
In Microsoft Word, you can number the columns on a multiple-column page by inserting field codes in the document's header or footer. Using this method, you can simulate the pagination of folded pages (as for a brochure, pamphlet, booklet, leaflet, or program).

NOTE: This procedure does not work with a table of contents or index.



MORE INFORMATION
You can achieve the numbering scheme diagrammed below by inserting the following line at the left edge of your document's header or footer:

{={page}+{={page}-1}*1+0}

NOTE: Each pair of field braces ({}) is created by pressing CTRL+F9 (COMMAND+F9 in Word for the Macintosh) and the following line at the right edge of the header or footer:

{={page}+{={page}-1}*1+1}

The results are as follows:           page 1                    page 2 ---      ---   | pg 1. pg 2 |    | pg 3. pg 4 | |        .         |     |         .         |   |         .         |     |         .         |   |         .         |     |         .         |   |         .         |     |         .         |   |         .         |     |         .         |   |         .         |     |         .         |    ---       --- You can use the following generic formula to simulate page numbering for any number of columns:

page + ((page-1) * n) + m

In this formula, &quot;page&quot; equals the current page field value, &quot;n&quot; equals the number of columns - 1, &quot;m&quot; equals the column position - 1, and the first column starts at zero. Insert the above formula in the header or footer, positioning each formula at the desired location above or below the appropriate column.

For two-column page numbering, use the following formula:

{={page}+{={page}-1}*1+0} 1,3,5,...

{={page}+{={page}-1}*1+1} 2,4,6,...

For three-column page numbering, use the following formula:

{={page}+{={page}-1}*2+0} 1,4,7,...

{={page}+{={page}-1}*2+1} 2,5,8,...

{={page}+{={page}-1}*2+2} 3,6,9,...

For four-column page numbering, use the following formula:

{={page}+{={page}-1}*3+0} 1,5,9,...

{={page}+{={page}-1}*3+1} 2,6,10,...

{={page}+{={page}-1}*3+2} 3,7,11,...

{={page}+{={page}-1}*3+3} 4,8,12,...

If you want the numbering to start with 0 for the first column, make the following changes:
 * 1) In the first formula, change the starting value of &quot;m&quot; to equal the value of &quot;n&quot; used in that formula. Increase &quot;m&quot; by increments of 1 in each additional formula (as in the original formula examples).
 * 2) On the Insert menu, choose Page Numbers. Choose the Format button. Select the Start At button and set the value to 0.

The WOPR products included here are manufactured by vendors independent of Microsoft; we make no warranty, implied or otherwise, regarding these products' performance or reliability.

Woody's Office POWER Pack version (WOPR) is an add-on package for Word for Windows that contains a macro that produces a folded page document. See the Woody Internet site at the following Web address: http://www.wopr.com

For WOPR Technical Support, contact:

CompuServ GO WOPR

Voice (314) 965-5630

FAX 314-966-1833

To order WOPR, call (800) 659-4696 or (314) 965-5630, or contact:

Advanced Support Group, Inc.

11900 Grant Place

Des Peres, MO 63131

Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

