ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   An incrementing serial number in each new document (https://www.excelbanter.com/excel-discussion-misc-queries/136392-re-incrementing-serial-number-each-new-document.html)

JLatham

An incrementing serial number in each new document
 
While a 'template' approach could work, it's awkward and prone to error
(someone forgets to save it with updated number). There is no auto-increment
function in Excel, so all the solutions I've ever seen involve VB coding. JE
McGimpsey has some good suggestions on how to deal with it, with the code
provided for simple cut'n'paste use he
http://www.mcgimpsey.com/excel/udfs/sequentialnums.html


"Lee Techwriter" wrote:

I'm trying to create a trouble-ticket form with numerous blank fields, to be
filled in by users. I can handle that. What I can't figure out is how to
put in a field with a serial number in it that increments by one each time a
new form is created. I'm thinking that a template might do. The template
would remember the last serial number, and increment it by one when a
document is made from that template.

Any suggestions? If this takes VBA coding, I'm lost. I can record macros,
and touch them up in editing, but real coding is beyond me, at this point.

-- Lee Techwriter



All times are GMT +1. The time now is 05:41 AM.

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