Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would like to put a formula in a field that will show today's day when
ever there is a change made to a work sheet. If the is no change then I like the last date to stay as is. Can this be done as a simple formula or a macro and how so? Thanks, Ken Ivins |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ken
You could put the code below in the worksheet class module. (Right click on the sheet tab and select View code...) Private Sub Worksheet_Change(ByVal Target As Range) Range("A1").Value = Now() End Sub It will update the date and time in cell A1 on the sheet when any cell is changed -- HTH Nick Hodge Microsoft MVP - Excel Southampton, England HIS "Ken Ivins" wrote in message ... I would like to put a formula in a field that will show today's day when ever there is a change made to a work sheet. If the is no change then I like the last date to stay as is. Can this be done as a simple formula or a macro and how so? Thanks, Ken Ivins |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Nick,
Thanks, That is what I want. Ken "Nick Hodge" wrote in message ... Ken You could put the code below in the worksheet class module. (Right click on the sheet tab and select View code...) Private Sub Worksheet_Change(ByVal Target As Range) Range("A1").Value = Now() End Sub It will update the date and time in cell A1 on the sheet when any cell is changed -- HTH Nick Hodge Microsoft MVP - Excel Southampton, England HIS "Ken Ivins" wrote in message ... I would like to put a formula in a field that will show today's day when ever there is a change made to a work sheet. If the is no change then I like the last date to stay as is. Can this be done as a simple formula or a macro and how so? Thanks, Ken Ivins |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Clarification - how to automatically update cells with a date and date range | Excel Discussion (Misc queries) | |||
Automatically update a cell with a date based on anther cells date | Excel Discussion (Misc queries) | |||
input a date or update it based on date in another cell | New Users to Excel | |||
How to update a cell if a specific date is included in a date rang | Setting up and Configuration of Excel | |||
Date update on data update | Excel Programming |