Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You can use the event Workbook_open, and use a macro like this:
Private Sub Workbook_Open() Worksheets("sheet1").Range("A1").Value = Worksheets("sheet1").Range("A1").Value + 1 End Sub The code must be placed in the workbook code area, that can be accessed by right click on the Excel icon left to the file menu and selecting "View code" Hope this helps, Miguel. "john" wrote: I have a template that I want a unique, sequential number to appear every time the file is opened. Meaning, the first time it is opened the number could be 101. The next time the template is used, the file should open with 102 in the designated field and so on. Any thoughts on how to accomplish this? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel automatic numbering | Excel Discussion (Misc queries) | |||
How do I set up automatic sequentially numbering for worksheets? | Excel Worksheet Functions | |||
Automatic Numbering Upwards | Excel Discussion (Misc queries) | |||
How do I set up invoice automatic numbering in excel? | Excel Discussion (Misc queries) | |||
automatic sequential numbering in excel or word | Excel Discussion (Misc queries) |