Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want my invoices to automatically go up in number. EX. Invoice 1, Invoice
2... I want this to happen every time I open my template to create a new invoice. I can't remember how to do this. Can anyone provide me with an answer? Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Place this macro in the workbook module. This macro will increment the
number in F5 in the sheet named "SheetName" by 1 every time the file is opened. HTH Otto Private Sub Workbook_Open() With Sheets("SheetName") [F5].Value = [F5].Value + 1 End With End Sub "bpbumbin" wrote in message ... I want my invoices to automatically go up in number. EX. Invoice 1, Invoice 2... I want this to happen every time I open my template to create a new invoice. I can't remember how to do this. Can anyone provide me with an answer? Thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Oops. I forgot a couple of periods. Use this instead. Otto
Private Sub Workbook_Open() With Sheets("SheetName") .[F5].Value = .[F5].Value + 1 End With End Sub "Otto Moehrbach" wrote in message ... Place this macro in the workbook module. This macro will increment the number in F5 in the sheet named "SheetName" by 1 every time the file is opened. HTH Otto Private Sub Workbook_Open() With Sheets("SheetName") [F5].Value = [F5].Value + 1 End With End Sub "bpbumbin" wrote in message ... I want my invoices to automatically go up in number. EX. Invoice 1, Invoice 2... I want this to happen every time I open my template to create a new invoice. I can't remember how to do this. Can anyone provide me with an answer? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do i auto number pages in excel | Excel Discussion (Misc queries) | |||
Auto Number in Excel | Excel Discussion (Misc queries) | |||
auto number columns in excel | Excel Discussion (Misc queries) | |||
how to set up a column in excel so it can auto number | Excel Discussion (Misc queries) | |||
How do I auto-number rows in excel? | Excel Programming |