Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
ES
 
Posts: n/a
Default Autonumber from Form

Hi All,
I am trying to create a form that will allow users to add a new record with
an autonumber displayed for the current record they are adding. So starting
with 001, 002, 003. After those are entered and the user wants to add a new
record, it would say 004. Any way of doing this? I searched the forum, but I
don't see how the solution would be applied to a form. Please advise.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Peo Sjoblom
 
Posts: n/a
Default Autonumber from Form

What kind of form, is this a sheet made look like a form or are you using a
form created through VBA?

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

Btwe, don't search forums, use Google groups

http://groups.google.es/advanced_gro...=lang_en&hl=en

--
Regards,

Peo Sjoblom

Portland, Oregon




"ES" wrote in message
...
Hi All,
I am trying to create a form that will allow users to add a new record
with
an autonumber displayed for the current record they are adding. So
starting
with 001, 002, 003. After those are entered and the user wants to add a
new
record, it would say 004. Any way of doing this? I searched the forum, but
I
don't see how the solution would be applied to a form. Please advise.


  #3   Report Post  
Posted to microsoft.public.excel.newusers
flummi
 
Posts: n/a
Default Autonumber from Form

If you can incorporate a cell into your form you can do this:

Provided your lines entered are in A1:P100 and your running number is
in A1:

Use a cell somewhere say Q1 which will hold the next number to use:
=max(A:A)+1

Hans

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
Access Form In An Access Report (SubForm) Question Gary Links and Linking in Excel 0 January 27th 06 05:54 AM
Automatically display sentence. Rao Ratan Singh New Users to Excel 2 January 17th 06 06:53 PM
how can I make a form number change everytime the form is opened babydumplingspita Excel Worksheet Functions 1 October 10th 05 07:58 PM
Display form from an VB application in Excel kuhni Excel Discussion (Misc queries) 0 August 10th 05 06:04 PM
Trying to delete form border, and it deletes all borders PeterM Excel Discussion (Misc queries) 11 January 3rd 05 03:36 PM


All times are GMT +1. The time now is 01:51 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"