Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If you store the number in a cell, say A1, you can use the
BeforePrint event procedure to increment the number each time the workbook is printed. E.g., put the following code in the ThisWorkbook code module. Private Sub Workbook_BeforePrint(Cancel As Boolean) Range("A1").Value = Range("A1").Value + 1 End Sub -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Marc.paternotte" wrote in message ... Hee, i have a problem. I like to print a file that has a number that changes every time that i print the file. How kan i make this posible. P.s. the file is a list. Every menber in the company can use this page to ask materials. To order this materials en to now withs material for who, i need every time a different (unique) number. Thansk in advange |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Special Random Numbers' Distribution | Excel Discussion (Misc queries) | |||
Find & Replace Special characters with numbers | Excel Discussion (Misc queries) | |||
Formatting phone numbers using Special or Custom ..Help!!!! | Excel Discussion (Misc queries) | |||
Special characters, printing | Excel Programming | |||
Special printing | Excel Programming |