Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How do I keep the "today()" function from updating

I have a macro that adds a new line to our construction budgets. It puts the
date of the change by using the today function to put that day's date in the
first cell of the new row.
In Excel 2003, this date would remain static, which is what I wanted. When
I upgraded to Excel 2007, the date would change to the current date, which
made the information useless.
How can I get the date to remain the date it was first inserted in the cell?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default How do I keep the "today()" function from updating

Hi

Behaviour has not altered between XL2003 and 2007 in this respect.
If a cell contains =TODAY(), it is volatile and will be recalculated every
time there is a change in the worksheet, so the date will alter day by day.

Perhaps your original macro did something like
ActiveSheet.Range("A" & nextrow)=Date where nextrow is the next row number
on the sheet
In this case the Date would be fixed to the value at the time the macro was
run

It sounds as though the macro now does something like
ActiveSheet.Range("A" & nextrow).Formula = "=Today()"
--
Regards
Roger Govier

"Len Chaston" wrote in message
...
I have a macro that adds a new line to our construction budgets. It puts
the
date of the change by using the today function to put that day's date in
the
first cell of the new row.
In Excel 2003, this date would remain static, which is what I wanted.
When
I upgraded to Excel 2007, the date would change to the current date, which
made the information useless.
How can I get the date to remain the date it was first inserted in the
cell?

__________ Information from ESET Smart Security, version of virus
signature database 4756 (20100109) __________

The message was checked by ESET Smart Security.

http://www.eset.com




__________ Information from ESET Smart Security, version of virus signature database 4756 (20100109) __________

The message was checked by ESET Smart Security.

http://www.eset.com



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default How do I keep the "today()" function from updating

It would be much easier for someone to give you an answer if you posted the
macro's code for us to see.

--
Rick (MVP - Excel)


"Len Chaston" wrote in message
...
I have a macro that adds a new line to our construction budgets. It puts
the
date of the change by using the today function to put that day's date in
the
first cell of the new row.
In Excel 2003, this date would remain static, which is what I wanted.
When
I upgraded to Excel 2007, the date would change to the current date, which
made the information useless.
How can I get the date to remain the date it was first inserted in the
cell?


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
today function in an "if" formula RainyDay Excel Worksheet Functions 8 November 16th 08 11:13 PM
User created function not "updating" Richard Edwards Excel Worksheet Functions 3 November 30th 07 09:31 AM
Problems updating shared documents which used "Lookup" function Yeam69 Excel Discussion (Misc queries) 0 June 21st 06 08:42 AM
"NOW" or "TODAY" date function Chris Excel Worksheet Functions 2 April 19th 06 07:46 PM
How can I use the "TODAY ()" Function in an "IF/THEN" calculation Rodney Excel Worksheet Functions 4 April 12th 06 10:16 AM


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