Number

M

momotaro

Is there a way to increment a number in my spreadsheet each time I print?
Thanks in advance.

momo
 
M

momotaro

Thanks for the info. Can the number be changed after I printed? For
example, I input info on the sheet and click print. After I click print, I
want the number increase to the next number. Can it be done? Thanks again.
 
B

Bernard Liengme

Use this workbook sub
Private Sub Workbook_BeforePrint(Cancel As Boolean)
Range("Sheet2!A29") = Range("Sheet2!A29") + 1
End Sub
Note it updates BEFORE printing
 
Top