Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
babydumplingspita
 
Posts: n/a
Default how can I make a form number change everytime the form is opened

when i open a form how can i make the form number change everytime i open the
form. For example:

Workbook 1 has form number 1001
when i open workbook 2 i want it to renumber the form to 1002
  #2   Report Post  
Paul B
 
Posts: n/a
Default

A simple way would be to use something like this.



Private Sub Workbook_Open()
Sheets("Sheet1").Range("A1").Value = _
Sheets("Sheet1").Range("A1").Value + 1

End Sub





For other ways to do this or if this is going to be used in a temple have a
look here

http://www.mcgimpsey.com/excel/udfs/sequentialnums.html
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003


"babydumplingspita" wrote in
message ...
when i open a form how can i make the form number change everytime i open
the
form. For example:

Workbook 1 has form number 1001
when i open workbook 2 i want it to renumber the form to 1002



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
Change Text to a number jennifer Excel Worksheet Functions 1 April 27th 05 08:47 PM
copy a number typed in a cell to another & change it to word form. ex:1 in a cell = one in a different cell Excel Discussion (Misc queries) 1 April 20th 05 08:23 PM
How do I change the category axis number formatting in a Pivot Ch. Cultcab Charts and Charting in Excel 0 April 19th 05 12:26 AM
The number change from 1350 to 13.5 and Enter does not function properly hon123456 Excel Discussion (Misc queries) 2 January 19th 05 02:41 PM
how do i make a date change automatically if i change one before . dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 09:21 PM


All times are GMT +1. The time now is 10:21 AM.

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"