Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Odonata
 
Posts: n/a
Default How do I show the date of an update?

I'm trying to find a way to automatically show the date a cell is updated.
I'm creating a status report where column A contains text that is updated
frequently. I would like to find a way for column B to show a date of the
most recent update to the column A cell.

This is not the date the spreadsheet is updated, but just the cell in
question.
Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ardus Petus
 
Posts: n/a
Default How do I show the date of an update?

Paste following code into your worksheet's code page
(right-click worksheet's tab, select View code)

'----------------------------------------------------------------------------------------
Private Sub Worksheet_Change(ByVal Target As Range)
Dim rRange As Range
Dim rcell As Range

Set rRange = Intersect(Target, Columns("A"))
If Not rRange Is Nothing Then
For Each rcell In rRange
rcell.Offset(0, 1) = Now
Next rcell
End If

End Sub

'----------------------------------------------------------------------------------------

HTH
--
AP

"Odonata" a écrit dans le message de
news: ...
I'm trying to find a way to automatically show the date a cell is updated.
I'm creating a status report where column A contains text that is updated
frequently. I would like to find a way for column B to show a date of the
most recent update to the column A cell.

This is not the date the spreadsheet is updated, but just the cell in
question.
Thanks!



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
canceling auto date update unexceller New Users to Excel 1 June 8th 06 07:40 AM
update cells to today date in a list of dates Bill Excel Worksheet Functions 1 March 19th 06 12:30 AM
update cells to today date in a list of dates Bill Excel Worksheet Functions 1 March 17th 06 12:26 AM
Is there a function to show future date taxmom Excel Worksheet Functions 2 March 4th 05 09:23 PM
need to show date countdown petergw Excel Worksheet Functions 1 January 14th 05 12:13 PM


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