Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Insert new date once.

=today() puts the current date in the spreadsheet and changes it to the
current day when open.

Lets say that you have a spreadsheet that you re-use for clients (Save as to
keep the data for the client). When you open this spreadsheet you want
todays date going in, but not to change again.

I know a one time date insertion can be done, but that requires some clicks.
Is there a call (Like today()) that can do this?
---------
According to your description, my understanding of this issue is: when you
use =today() to put the current date in a cell, the date is updated next
time you open the workbook again.

If I have misunderstood your concern, please feel free to let me know.

As you noticed, The TODAY() function changes only when the worksheet is
calculated. The date and time used are taken from the computer's system
clock. When you reopen the workbook, the function is recalculated.

There is no such built-in function to realize your goal. However, based on
my knowledge, the goal can be achieved by programming (VBA). Please kindly
understand that development related issues are out of our support ability.
You can submit your question to MSDN newsgroup as they are best suited to
help you with the dev-related issues. You can reach MSDN newsgroup by
visiting the following link:

MSDN newsgroups
http://msdn.microsoft.com/newsgroups/default.asp

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Insert new date once.

sub putdate()
range("a1")=date
end sub

--
Don Guillett
SalesAid Software

"Eric Vogel" wrote in message
...
=today() puts the current date in the spreadsheet and changes it to the
current day when open.

Lets say that you have a spreadsheet that you re-use for clients (Save as
to
keep the data for the client). When you open this spreadsheet you want
todays date going in, but not to change again.

I know a one time date insertion can be done, but that requires some
clicks.
Is there a call (Like today()) that can do this?
---------
According to your description, my understanding of this issue is: when you
use =today() to put the current date in a cell, the date is updated next
time you open the workbook again.

If I have misunderstood your concern, please feel free to let me know.

As you noticed, The TODAY() function changes only when the worksheet is
calculated. The date and time used are taken from the computer's system
clock. When you reopen the workbook, the function is recalculated.

There is no such built-in function to realize your goal. However, based on
my knowledge, the goal can be achieved by programming (VBA). Please kindly
understand that development related issues are out of our support ability.
You can submit your question to MSDN newsgroup as they are best suited to
help you with the dev-related issues. You can reach MSDN newsgroup by
visiting the following link:

MSDN newsgroups
http://msdn.microsoft.com/newsgroups/default.asp



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
Insert date in macro George Gee New Users to Excel 12 April 17th 06 05:44 AM
insert the date the file was last modified Hoff Excel Discussion (Misc queries) 8 November 21st 05 01:31 PM
Want day of the week when I insert a date HT New Users to Excel 5 October 13th 05 03:49 PM
How do I insert the date the file was saved in the MS Excel foote. kacate Excel Discussion (Misc queries) 2 January 31st 05 09:11 PM
Challenging Charting C TO Charts and Charting in Excel 0 January 17th 05 06:57 PM


All times are GMT +1. The time now is 01:23 PM.

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"