Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default Generate Numbers (not random) Like a counter

I have created a Ticket Form for billing purposes. They need to generate
sequentially, but after the ticket is filled out and saved, the number cant
change when its reopened. Would I have to use another program to do this or
could I get excel to work this out for me?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Generate Numbers (not random) Like a counter

Presumably, your ticket form has a Ticket Number field. You would need to
create a macro of some sort which tells Excel "each time a new iteration of
this ticket form occurs, increase the value in the Ticket Numbe field by one."

Unfortunately my VBA skills are not up to snuff to tell you how to do that,
but I'm sure someone here can.
--
Brevity is the soul of wit.


"Lloyd" wrote:

I have created a Ticket Form for billing purposes. They need to generate
sequentially, but after the ticket is filled out and saved, the number cant
change when its reopened. Would I have to use another program to do this or
could I get excel to work this out for me?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Generate Numbers (not random) Like a counter

J.E. McGimpsey has some suggestions:
http://mcgimpsey.com/excel/udfs/sequentialnums.html

Lloyd wrote:

I have created a Ticket Form for billing purposes. They need to generate
sequentially, but after the ticket is filled out and saved, the number cant
change when its reopened. Would I have to use another program to do this or
could I get excel to work this out for me?


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
How to generate sets of random numbers without having duplicates William Excel Worksheet Functions 1 June 6th 06 05:30 AM
random numbers Randi R Excel Discussion (Misc queries) 3 March 12th 06 08:21 PM
Non-random numbers generated by excel's data analysis random gener Harlan Grove Excel Discussion (Misc queries) 2 September 13th 05 04:06 PM
generate random numbers Jules Excel Worksheet Functions 6 November 2nd 04 05:57 PM


All times are GMT +1. The time now is 08:15 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"