Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
JudyRuiz
 
Posts: n/a
Default how does an invoice number change automatically ?

Every time I make a new bill i would like for the invoice number to change
automatically. What can i do to make this possible?
  #2   Report Post  
cycling-rod
 
Posts: n/a
Default


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


--
cycling-rod
  #3   Report Post  
Paul B
 
Posts: n/a
Default

Judy, you could use this, it will add 1 to sheet 1 cell A1 each time the
workbook is opened

Private Sub Workbook_Open()
Sheets("sheet1").Range("A1") = _
Sheets("sheet1").Range("A1") + 1
End Sub

To put in this macro, from your workbook right-click the workbook's icon and
pick View Code. This icon is to the left of the "File" menu this will open
the VBA editor, in the left hand window double click on thisworkbook, under
your workbook name, and paste the code in the window that opens on the right
hand side, press Alt and Q to close this window and go back to your
workbook, now this will run every time you open the workbook. If you are
using excel 2000 or newer you may have to change the macro security
settings to get the macro to run. To change the security settings go to
tools, macro, security, security level and set it to medium



If this is a template you are using you will need to 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




"JudyRuiz" wrote in message
...
Every time I make a new bill i would like for the invoice number to change
automatically. What can i do to make this possible?



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
Automatically number invoice Jaladino Excel Worksheet Functions 0 February 22nd 05 03:12 PM
Automatically number multiple sheets itguyintrainin Excel Discussion (Misc queries) 4 February 3rd 05 11:49 PM
assign number to sales invoice warfula Excel Worksheet Functions 1 January 28th 05 03:13 PM
updating invoice number on excel spreadsheet beave Excel Worksheet Functions 3 December 26th 04 03:01 PM
How do I set date to change automatically on invoices created wit. Angel New Users to Excel 3 November 30th 04 04:10 AM


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