Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to print multiple copies with sequence page numbers?

Have you ever tried to print multiple copies of one sheet with sequence page numbers? That means to print 10 copies of one sheet, and fill the Cell A1 in the 1st copy with 001, in the 2nd copy with 002…, and in the 10th copy with 010. In Excel, there is no built-in feature can solve this job, but in this article, I introduce a macro code to help you quickly print multiple copies with sequence page number in Excel.

Print copies with different numbers by VBA code


arrow blue right bubble Print copies with different numbers by VBA code


Following below steps to print multiple copies of one sheet with sequence numbers by VBA code

1. Enable the sheet you want to print, and press Alt + F11 keys to open the Microsoft Visual Basic for Applications window.

2. Click Insert > Module, and paste below code to the Module script. See screenshot:

VBA: Print copies with sequence page numbers.

Sub PrintCopiesWithNumbers()
'UpdatebyEntendoffice20161031
    Dim i As Integer
    Application.ScreenUpdating = False
    For i = 1 To 10
        Range("A1").Value = "'00" & i
       ActiveSheet.PrintOut
    Next i
    Application.ScreenUpdating = True
    MsgBox "Totally print" & (i - 1) &"copies", vbInformation, "Kutools for Excel"
End Sub

doc print copy with number 1

Note: in the code, A1 is the cell you want to place the sequence number, 1 To 10 indicates to print 10 copies, and "'00" & I is the sequence format, you can change them as you need.

3. Press F5 key to run the code, and a dialog pops out to remind you that print 10 copies. Click OK to close the dialog, then each printed copy has its own sequence number.
doc print copy with number 2

Tip.If you want to do some special printing operation, for instance, printing in reverse order, printing with border and so on, please try to use the Kutools for Excel’s Printing tool as shown in the following screenshot. It’s full function without limitation in 60 days, please download and have a free trial now.

doc print

Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Solf · 1 years ago
    Hi,
    I was looking for this kind of code butc with a twist..
    When printing 10 copies it should say ot id how many it is.. Ex. 001 of 010 and so on..
    Any help?
  • To post as a guest, your comment is unpublished.
    Abdul · 1 years ago
    What is sequence format refer
    • To post as a guest, your comment is unpublished.
      Sunny · 1 years ago
      Hello, the sequence refer to the copies number.