Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I use the formula =if(<cell_ref="X";=today();"") to determine when a report
was changed. However, every time I open the file, the formula always returns todays date (naturally !!). How do I record and save as a fixed entry the date the <cell_ref was changed? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Bobito,
Copy the code below, right-click the sheet tab, select "View Code" and paste the code into the window that appears. Change the A2:A1000 to the range address of the cells with the formula described below, and anytime they first calculate to show a date and not "", they will automatically convert to a date value. HTH, Bernie MS Excel MVP Private Sub Worksheet_Calculate() Dim myC As Range For Each myC In Range("A2:A1000") If myC.HasFormula And myC.Value < "" Then myC.Value = myC.Value Next myC End Sub "Bobito" wrote in message ... I use the formula =if(<cell_ref="X";=today();"") to determine when a report was changed. However, every time I open the file, the formula always returns todays date (naturally !!). How do I record and save as a fixed entry the date the <cell_ref was changed? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel: Concatenate Daily Recording | Excel Discussion (Misc queries) | |||
Saving a file while recording a macro | Excel Discussion (Misc queries) | |||
How do I make the Stop Recording bar pop up when recording macros | Excel Worksheet Functions | |||
saving dates\invoice numbers | Excel Discussion (Misc queries) | |||
Recording time in Excel | Excel Discussion (Misc queries) |