Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Display last date edited in workbook

Hello,

I need to display the last date a workbook was edited.
Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Display last date edited in workbook

Hi Kathy
the following code will display in cell A1 the date the workbook was
saved the last time:
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
Boolean)
Range("A1").Value = Date
End Sub

put this in your workbook module and save the file
HTH
Frank


kathy wrote:
Hello,

I need to display the last date a workbook was edited.
Any ideas?



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
Display "Last updated date" for the Workbook (without using a macr CRayF Excel Worksheet Functions 3 October 28th 09 08:55 PM
Workbook Name Edited in Cell RoadKill Excel Worksheet Functions 1 September 5th 08 07:11 PM
set up a shared workbook to be view/edited at the same time? mario frias Excel Discussion (Misc queries) 1 July 15th 08 04:50 PM
Display last date workbook was modified? manxman Excel Discussion (Misc queries) 1 July 21st 06 07:25 AM
Date last edited Mike Sharp Excel Discussion (Misc queries) 1 May 18th 05 06:08 PM


All times are GMT +1. The time now is 02:19 PM.

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"