How to print from consecutive numbers in excel w/o typing all?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to print about 700 tickets and I have to number each of them. Is there
a way I can use a formula in order for it to print the numbers on each sheet
without having to type each number before printing?
Thank you.
 
Here is a macro that should help. Try it with FOR j = 1 to 5 first, then
change to 700
Note that I assume your number is in A1; change code as needed
Write to me at my personal email for more.

Sub PrintTicket()
For j = 1 To 5
Range("A1") = j
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
Next
End Sub


best wishes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top