Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default add a date that changes only when I save the doc.

I have a file that I update and want to, when I open it, see the last time it
was updated. Is there a function that will do this?
--
Thanks,
Laura
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,123
Default add a date that changes only when I save the doc.

Hi

One way

If macro's are not disabled you can use this event to add the date/time in a cell
every time you save the file (I use A1 in :Sheet1")

Copy this in the Thisworkbook module of the workbook

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Sheets("Sheet1").Range("A1").Value = Format(Now, "dd-mmm-yy h-mm-ss")
End Sub


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"lauras03" wrote in message ...
I have a file that I update and want to, when I open it, see the last time it
was updated. Is there a function that will do this?
--
Thanks,
Laura

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
Save Date & Time mickey Excel Worksheet Functions 3 January 7th 07 02:09 PM
why does my date change to #### when i save the page? Amanda Excel Discussion (Misc queries) 4 November 10th 06 07:25 PM
Date each active tab upon save Ken King Excel Discussion (Misc queries) 3 October 31st 06 01:13 AM
Input original save date djarcadian Excel Discussion (Misc queries) 1 June 2nd 06 10:01 PM
How can you save a spreadsheet with a date stamp. kenny Excel Worksheet Functions 1 May 15th 06 05:19 PM


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