ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Auto control number (https://www.excelbanter.com/excel-worksheet-functions/111122-auto-control-number.html)

Freshman

Auto control number
 
Dear all,

I've a form with a control number in cell G3. Suppose the control number
starting from "PR 00001" and every time I'll print 100 sheets. I want the
form to be printed out in consecutive numbers, such as PR 00001, PR 00002, PR
00003 and so forth. What will the VBA code be so that I can get the above
result?

Thanks in advance.

Marcelo

Auto control number
 
hi,

try it

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

hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Freshman" escreveu:

Dear all,

I've a form with a control number in cell G3. Suppose the control number
starting from "PR 00001" and every time I'll print 100 sheets. I want the
form to be printed out in consecutive numbers, such as PR 00001, PR 00002, PR
00003 and so forth. What will the VBA code be so that I can get the above
result?

Thanks in advance.



All times are GMT +1. The time now is 01:36 PM.

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