ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Auto numbering (https://www.excelbanter.com/excel-programming/271188-auto-numbering.html)

Chong Moua

Auto numbering
 
Hi Christiana,

You probably need VBA. Try this... Copy below to the
ThisWorkbook sheet code.
---------------------------------
Private Sub Workbook_Open()

[A1] = [A1] + 1

End Sub
---------------------------------
Hope this helps...

Chong Moua

-----Original Message-----
I would like to create a field that with contain a number
which will be increased next time you will open the
particular file. Basically what I have is an Invoice
speadsheet and I want the Invoice number to be entered
automatically each time someone opens the file. How I

will
do that? should I need VBA for this?
.



All times are GMT +1. The time now is 11:57 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com