Assuming the change is initiated manually, you can use a macro to do this.
Right click on the worksheet tab and select view code. in the resulting
module, in the dropdowns at the top of the module, in the left dropdown
select worksheet and in the right dropdown select Change (not Selection
Change). You will get an event declaration like:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
End Sub
this macro will fire when a cell is edited (whether the value is actually
changed or not). You can have it update an adjacent cell with the date and
time
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
On Error goto ErrHandler
set rng = Intersect(Target,columns(3))
if not rng is nothing then
Application.EnableEvents = False
for each cell in rng
' if not isempty(cell) then
cell.offset(0,1).Value = Now
cell.offset(0,1).NumberFormat:="mm/dd/yyyy hh:mm"
cell.EntireColumn.Autofit
' end if
Next
ErrHandler:
Application.EnableEvents = True
End Sub
As written it reacts to changes in column C. Adjust to suit your needs.
If you want to don't want to record a date if the cell is cleared, then
remove the single quotes in two places.
--
Regards,
Tom Ogilvy
"TJ" wrote:
> I want to track the date last changed of several cells, so anyone looking at
> the information can easily see the last updated date. I want the date last
> changed to show in an adjucant cell. I don't just want to use track changes.
>
> --
> TJ
Bookmarks