Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default IS THERE A FORMULA FOR AUTODATE?

I need a formula for Excel 2000 that will display the correct current date in
a cell and updates for each day.

For example on 14/09/2004, in cell A3 this is the date that is shown, but
when i load the document the following day it then displays 15/09/2004,
however i dont want it update the date once the document has already been
saved, say if it is the 20/09/2004 and i need to look at a document from
15/09/2004 i dont want the date on the document to change to 20/09/2004.

Is this possible?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default IS THERE A FORMULA FOR AUTODATE?

hi,
try this:
=today() will display the current date
Saved the normal way, it will remain a formula
when you want to "freeze" the date run this macro:
Sub SaveSpecial
Range("A3").Select
Selection.Copy
Selection.PasteSpecial Paste:=xlValues, _
Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Application.CutCopyMode = False
ActiveWorkbook.Save
end sub
The above macro assumes that you have put =today() in cell
A3 prior to running the macro.
-----Original Message-----
I need a formula for Excel 2000 that will display the

correct current date in
a cell and updates for each day.

For example on 14/09/2004, in cell A3 this is the date

that is shown, but
when i load the document the following day it then

displays 15/09/2004,
however i dont want it update the date once the document

has already been
saved, say if it is the 20/09/2004 and i need to look at

a document from
15/09/2004 i dont want the date on the document to change

to 20/09/2004.

Is this possible?

Thanks
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default IS THERE A FORMULA FOR AUTODATE?

Hi Aradon,

To do this manually, the Control and semicolon key combination inserts the
current date.

For a VBA solution, try:

Range("A3").Value = Date

---
Regards,
Norman



"Aradon" wrote in message
...
I need a formula for Excel 2000 that will display the correct current date
in
a cell and updates for each day.

For example on 14/09/2004, in cell A3 this is the date that is shown, but
when i load the document the following day it then displays 15/09/2004,
however i dont want it update the date once the document has already been
saved, say if it is the 20/09/2004 and i need to look at a document from
15/09/2004 i dont want the date on the document to change to 20/09/2004.

Is this possible?

Thanks



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
Autodate and total hours jackel[_8_] Excel Worksheet Functions 4 February 16th 08 08:16 PM
what did I do to get autodate? BorisS Excel Discussion (Misc queries) 2 November 12th 07 11:51 AM
Autodate worksheet tab G-fer Excel Discussion (Misc queries) 2 August 20th 06 09:24 AM
How do I autodate(excel) every 7 days ex. 1/1/06-1/31/06? tlk1214 New Users to Excel 1 January 12th 06 10:23 PM
Inserting an AutoDate Function MissTrish New Users to Excel 1 May 26th 05 06:02 PM


All times are GMT +1. The time now is 12:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"