Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Probably the best way to start is to record a macro to print to the correct
printer and then edit the macro to increment the cell. I have the following line in a macro to print 30 customized schedules. But, it prints to the currently selected printer (probably not the best option in a multi-printer environment). ActiveWindow.SelectedSheets.PrintOut Copies:=1 Your code to increment the cell would look something like Range("A1") = Range("A1") + 1 Jerry K "Adrian Paul" wrote in message . .. I am looking for a piece of code that would print a sheet, automatically increment a number in a specific field, Increment number by 1 And so on, for a specified number of sheets. I am generating a series of test data sheets and would like to automate the serialization part for the user. Any help would be greatly appreciated. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Print automatic | Excel Discussion (Misc queries) | |||
"Print Selection" doesn't print beyond automatic page breaks | Excel Discussion (Misc queries) | |||
Serialization of pivot table | Excel Programming | |||
Worksheet Serialization - Is It Possible? | Excel Programming | |||
Automatic print area | Excel Programming |