Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default EXCEL to update a number each time worksheet opens.

I am doing invoices in Excel. Each time i open a new one i need to put a new
number in ....has anyone got a formula so i can avoid repeating numbers...
many thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 709
Default EXCEL to update a number each time worksheet opens.

Hotchickbiker,

A simple way would be to use something like this, you could assign it to a
button, an open or before print event.

Sub Increase_Number
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

And if you are new to macros you may also what to have a look here on
getting started with macros
http://www.mvps.org/dmcritchie/excel/getstarted.htm

--
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

"hotchickbiker" wrote in message
...
I am doing invoices in Excel. Each time i open a new one i need to put a

new
number in ....has anyone got a formula so i can avoid repeating numbers...
many thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default EXCEL to update a number each time worksheet opens.

You may want to look at the way J.E. McGimpsey approached it:
http://mcgimpsey.com/excel/udfs/sequentialnums.html

hotchickbiker wrote:

I am doing invoices in Excel. Each time i open a new one i need to put a new
number in ....has anyone got a formula so i can avoid repeating numbers...
many thanks


--

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
How can I setup in Excel Worksheet Column a number is not repeat? Shahzad Zameer Excel Discussion (Misc queries) 2 April 27th 06 06:21 PM
automatically update a number in cell when template opens Trampas Excel Discussion (Misc queries) 1 November 30th 05 05:51 PM
export access to excel. change access & update excel at same time fastcar Excel Discussion (Misc queries) 0 June 24th 05 09:27 PM
How do you continuously update time and date in an Excel cell? engine99 Excel Worksheet Functions 7 February 21st 05 03:20 AM
How to continuously update time in Excel? Ray_Fry Excel Worksheet Functions 1 February 20th 05 08:00 PM


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