Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kenny
 
Posts: n/a
Default Showing last editing date

I was wondering if there is a way to have one cell show the date of when
another cell was last edited.
  #2   Report Post  
Rowan
 
Posts: n/a
Default

You can use a change event. Assume you want cell B1 to track when last A1 was
changed. Right click sheet tab, select View Code and paste the macro below:

Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo ErrorHandler
Application.EnableEvents = False
If Target.Address = "$A$1" Then
Range("B1").Value = Date
End If
ErrorHandler:
Application.EnableEvents = True
End Sub

Hope this helps
Rowan

"Kenny" wrote:

I was wondering if there is a way to have one cell show the date of when
another cell was last edited.

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
How do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
search for latest date Sue Excel Worksheet Functions 2 August 2nd 05 11:09 PM
Recurring annual events using a specific date as a trigger date Bamboozled Excel Worksheet Functions 1 June 6th 05 01:44 PM
Showing date last saved Colin Macleod Excel Discussion (Misc queries) 2 May 9th 05 07:53 PM
date and time ladimples247 New Users to Excel 2 February 16th 05 08:52 PM


All times are GMT +1. The time now is 01:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"