Home | Tips | Library | Other Authors | Other WP Sites | Writer's Links | Contact | Site Map | Donate

Barry MacDonnell's
Toolbox for WordPerfect

Macros, tips, and templates for Corel® WordPerfect® for Windows®
© Copyright 1996-2024 by Barry MacDonnell. All Rights Reserved.

Page updated Jul 27, 2008

WordPerfect Tips
Main tips page | Browse more tips

How to create "Continued on Page x" footers where "x" is the number of the following page

For more "page numbering" topics, see here.

This technique works in WordPerfect 8 and later versions (but will work in earlier versions -- probably requiring slightly different menu selections).

Open the Reveal Codes window so you can observe the effects of this procedure.

Step 1. (OPTIONAL but suggested so you can see the effects of the procedure and to allow displaying both page numbers -- current page and next page -- inside ordinary Headers and Footers.)

Create a Header that displays the current page number. Go to the top of Page 1. Create Header A (or B) with Insert|Header/Footer. Display the normal page number at the top of all pages by inserting a Page Number Display code in the header: Click Format|Page|Insert Page Number, then select <Page> and click Insert, then Close. Right justify this code, if desired, then click outside the header to get back to the main document.

Step 2.

Create Footer A (or B), type in a few periods ("...") or other continuation text/symbols (such as "Continued on page  ") and insert a "secondary page" number: Click Format|Page|Insert page number, then select <Secondary Page> and click Insert, then Close. Click outside the footer area to get back to the main document. (Position the cursor on the same page as the [Footer] code you just created.)

Step 3.

Now for the essential part: Set the secondary page number to one page higher than the actual page number: Click Format|Page|Numbering. In the dialog, select <No Page Numbering> in the "Position: " drop list. (You already have applied page numbering in the header and footer, so you probably don't want another number on the page!) Click the Set Value button, and in the next window ("Values") click the Secondary page tab. Set the secondary page number's initial value to "2" and click Apply, then OK twice to exit all dialog windows.

The secondary page number in the footer of each page will now display as one number higher than the page number in the header on that page.

Note: You may want to suppress page numbering in the header on Page 1 (only). Use Format|Page|Suppress for this. You will probably want to suppress the footer on the last page, too.

Use a macro: The above steps can be recorded (albeit piecemeal) in a macro. Here is the code I used in WordPerfect 9 when developing the above technique. Note that the macro creates Footer B at the top of the document, and the last macro command suppresses Footer B on the last page. Thus, you may want to play the macro after you have finished editing your document -- or, if you have made any changes since you last played it, find and delete the [Suppress] code that was placed on what was the last page, and play the macro again.

To copy this macro into your WordPerfect program, see here.

// Macro begins
Application(WordPerfect;"WordPerfect";Default!)
PosDocTop()
FooterB(Create!)
FlushRight()
Type("[")
Type("Continued on page ")
SecondaryPageNumberDisplay()
Type("]")
SelectMode(On!)
PosLineBeg()
AttributeRelativeSizeToggle(Small!)
SubstructureExit()
PageNumber(Page: 1)
SecondaryPageNumber(Page: 2)
PosDocBottom()
Suppress(FooterB!)
// Macro ends