Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am designing a form that requires consecutive numbers on each form, like a
certificate which requires a new number each time you print one form and it has been set up in Excel. How is this set up. If I print 100 forms, I want each form to have consecutive numbers. Is it possible? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() You can use this macro to get the job done. I am not sure this is the best way, but if it works! =======copy====================== Sub PrintForms() Dim copies As Integer Dim MyInput As Integer MyInput = InputBox("How many forms do you want to print?") For copies = 1 To MyInput Cells(50, 8).Select 'this will be where you want to form number to appear ActiveCell.Value = copies 'this assumes you want to start with #1. You can 'change this to ActiveCell.Value=ActiveCell.value +1 'and manually set the first 'form number before you run the macro ActiveWindow.SelectedSheets.PrintOut copies:=1, Collate:=True Next copies End Sub =========copy============================== sjamdavies Wrote: I am designing a form that requires consecutive numbers on each form, like a certificate which requires a new number each time you print one form and it has been set up in Excel. How is this set up. If I print 100 forms, I want each form to have consecutive numbers. Is it possible? -- kevindmorgan ------------------------------------------------------------------------ kevindmorgan's Profile: http://www.excelforum.com/member.php...o&userid=32232 View this thread: http://www.excelforum.com/showthread...hreadid=519950 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? | Excel Discussion (Misc queries) | |||
Why do I get a print error light trying to print an excel sheet ? | Excel Discussion (Misc queries) | |||
excel 2003 changing saved print settings | Excel Discussion (Misc queries) | |||
How do I sort letters before numbers in Excel? | Excel Discussion (Misc queries) | |||
print tickets with incrementing numbers in Excel ? | Excel Worksheet Functions |