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-2021 by Barry MacDonnell. All Rights Reserved.

Page updated June 6, 2008

WordPerfect Tips
Main tips page | Browse more tips
Creating consecutively number labels, tickets, cards, sheets, etc.
Step 1.
Either -
Open a blank (new) document; use Format, Labels and select an appropriate label or card stock size.
or -
Open an existing document (e.g., a Purchase Order, log sheet, raffle ticket. etc.)
Step 2.
Add a page number to it (if you are using labels or cards each is a logical "page") with Format, Page, Insert Page Number. Insert, Close. This places a [PgNumDisp] code on the label (visible in the Reveal Codes window); you should see a "1" on the label at the insertion point. You can adjust the starting number with the Value/Adjust button, or you can adjust it after the macro is finished (see #5 below).
Step 3.
Next, choose a font and font size for the number (select the code with your mouse and change the font), and add other body text and formatting. Finally, merge the label, card, or sheet "x" times with the LABLCOPY macro (found here in the Library). You'll get consecutively numbered labels/cards/sheets -- as many as you need.
Step 4.
If you have saved the above document, you can change the numbering so that the first item starts with a new number.
Go to the very top of the document before all codes and click Format, Page, Insert Page Number. This time, do not click Insert (you already have page numbers in the document); instead, click the Value/Adjust button, and set the page number to whatever beginning value you desire, such as "3001". Click OK (or Apply, then OK). Then click Close to close the "Insert Page Number" dialog and return to the document.
TIP: This step inserts a new code at the top of the document, [Pg Num Set: 3001], and numbers the items consecutively from the new starting number by simply changing the starting "page" number. You can re-use this document In the future with different numbers by simply deleting this code and repeating step 5 with a new starting value. (Or simply double click the code in Reveal Codes to bring up the Values dialog.)


See also the Bates macro in the Library, which can create sequential fixed width letters and numbers (e.g., A0001, A0002, etc.)