Computing.Net > Forums > Database > cell formula in Excel 2000

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

cell formula in Excel 2000

Reply to Message Icon

Name: kensattitude
Date: April 11, 2009 at 17:26:43 Pacific
OS: Windows XP
CPU/Ram: 2 gb
Subcategory: General
Comment:

Made a "Sale Reciept" and figured out all the cells except the "Invoice Number". How do you make the silly thing count to the next number....from 1 and the next time you open it up it will be on 2.




Response Number 1
Name: GavinR
Date: April 18, 2009 at 03:46:37 Pacific
+1
Reply:

Do you mean the next time you EXIT the workbook and open it again?

Formula's really do not work like that. They are more like calculators. And because the data hasn't changed since you last exitted the workbook, the formula will still produce th same answer.

I think the esaiest way around this is to use VBA.
You can create an event to run everytime the workbook is opened. Another possibility would be to add a button to the woksheet that triggers the code.
How ever!!!!!! This means you are relying that the users have macros enabled, or Macro security set to low.

Hers some code to try
-------------------------------------------------------------------------------------
Private Sub Workbook_Open()

With Worksheets("Sheet1").Range("A1")
.Value = .Value + 1
End With

End Sub
-------------------------------------------------------------------------------------



Response Number 2
Name: kensattitude
Date: April 18, 2009 at 07:47:38 Pacific
+1
Reply:

Thanks, I'll give it a try. A friend of mine showed her Quickbooks, I might just uses it instead. Thanks again for your help.



Response Number 3
Name: angrymen2001
Date: April 18, 2009 at 07:57:29 Pacific
+1
Reply:

If I'm understanding you correctly, and if you have Access, you
could perform the task in that.
AND........ Import your already existing excel spread heet

What happened to my quote



Reply to Message Icon

Related Posts

See More


unable begin DistributedT... Please help in IIS



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Database Forum Home


Google Ads



Results for: cell formula in Excel 2000

Excel 2000 Comparing Columns www.computing.net/answers/dbase/excel-2000-comparing-columns/654.html

Automatic Sort sheets in excel 2003 workbook www.computing.net/answers/dbase/automatic-sort-sheets-in-excel-2003-workbook/739.html

color cells logic in excel spreadsh www.computing.net/answers/dbase/color-cells-logic-in-excel-spreadsh/365.html