ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Automatic numbering (https://www.excelbanter.com/excel-programming/279686-automatic-numbering.html)

Alain[_3_]

Automatic numbering
 
How can I make an automatic numbering for a cell used
for Invoice number (as an example)



steve

Automatic numbering
 
Alain,

A lot depends on how you want the build the number and when you want to
change it.

With a numeric number
Range("A1").Value = Range("A1").Value + 1

in your code will increment to the next number.

Post back if you have a more complex invoice number...
(with date, alpha-numeric, etc)
--
sb
"Alain" wrote in message
...
How can I make an automatic numbering for a cell used
for Invoice number (as an example)






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

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