WD: Numbering Columns, Creating Page Numbers for Folded Pages (79592)



The information in this article applies to:

  • Microsoft Word for Windows 1.0
  • Microsoft Word for Windows 1.1
  • Microsoft Word for Windows 1.1a
  • Microsoft Word for Windows 2.0
  • Microsoft Word for Windows 2.0a
  • Microsoft Word for Windows 2.0b
  • Microsoft Word for Windows 2.0c
  • Microsoft Word for Windows 6.0
  • Microsoft Word for Windows 6.0a
  • Microsoft Word for Windows 6.0c
  • Microsoft Word for Windows 95
  • Microsoft Word for Windows 95 7.0a
  • Microsoft Word 97 for Windows
  • Microsoft Word for the Macintosh 6.0
  • Microsoft Word for the Macintosh 6.0.1
  • Microsoft Word for the Macintosh 6.0.1a
  • Microsoft Word 98 Macintosh Edition

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, "page" equals the current page field value, "n" equals the number of columns - 1, "m" 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 "m" to equal the value of "n" used in that formula. Increase "m" 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.

REFERENCES

"Microsoft Word for Windows User's Guide," version 2.0, pages 421-431

"Microsoft Word for Windows User's Reference," version 1.x, pages 246-247

"Take Word for Windows to the Edge," (ISBN 1-56276-079-3) by Guy Gallo, Ziff-Davis Press, page 362

Modification Type:MinorLast Reviewed:8/16/2005
Keywords:kbfield kbinfo kbtable KB79592