ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Generate Auto Order Number (https://www.excelbanter.com/excel-discussion-misc-queries/80043-generate-auto-order-number.html)

cher

Generate Auto Order Number
 
I have an Excel template that is set up for work orders. Each order has a
unique order number (one number higher than the last). I would like to
create a macro that will assign the order number based on the last saved
order number. I do not want an order number generated if the last order was
not saved. Any suggestions?

Ken Hudson

Generate Auto Order Number
 
Hi Cher,
You might try this link:

http://www.mcgimpsey.com/excel/udfs/sequentialnums.html

--
Ken Hudson


"cher" wrote:

I have an Excel template that is set up for work orders. Each order has a
unique order number (one number higher than the last). I would like to
create a macro that will assign the order number based on the last saved
order number. I do not want an order number generated if the last order was
not saved. Any suggestions?



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

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