Microsoft Office Forums

Microsoft Office Forums (https://www.msofficeforums.com/)
-   Word (https://www.msofficeforums.com/word/)
-   -   Increase serial number for every print (https://www.msofficeforums.com/word/13338-increase-serial-number-every-print.html)

atomtm 06-15-2012 05:00 AM

Increase serial number for every print
 
Hello everyone!
I have created one page that has 3 coupons on it.
Each coupon has one serial number on it (the serial number will change every 3 coupons). I want to increase the serial number everytime I print this document
Is there a way?
Any help would be much appreciated!

Thank you in advance

macropod 06-15-2012 05:39 AM

See: https://www.msofficeforums.com/word-...numbering.html

The FilePrint macro in the attached document would require a minor modification, as you'll be progressing in increments of 3. Change:
For i = lStart To lEnd
to:
For i = lStart To lEnd Step 3

As the document uses DOCPROPERTY fields for the numbering output, you'll also need to change the field code, to use three fields coded as:
{={DOCPROPERTY Counter}+0 \# 0000};
{={DOCPROPERTY Counter}+1 \# 0000}; and
{={DOCPROPERTY Counter}+2 \# 0000},
respectively.


All times are GMT -7. The time now is 06:11 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft