LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default I want to display the last file save date in an excel spreadsheet

Hi,

Alt+F11 to open VB editor. Double click 'This Workbook' and paste this in on
the right. Change the sheet and column to suit

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
lastrow = Sheets("Sheet1").Cells(Rows.Count, "A").End(xlUp).Row
Cells(lastrow + 1, 1).Value = "Last saved " & Now
End Sub

Mike

Mike

"Export Waypoints from S&T ''06" wrote:

Is it possible to display the last file save date in an excel spreadsheet
like one can in Word?

D2

 
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 excel 2007 spreadsheet as a .wk1 file? Fris Excel Worksheet Functions 1 March 31st 08 11:56 AM
Excel 2007 - Save as a 123 or Lotus spreadsheet file? Stan Excel Discussion (Misc queries) 2 February 20th 08 05:08 PM
Can I write an excel formula to display the file save date? Bob-123456789 Excel Worksheet Functions 1 January 26th 06 07:50 PM
How do I display the last saved date in an EXCEL spreadsheet? Andrea Excel Discussion (Misc queries) 1 March 10th 05 08:55 PM
save excel spreadsheet as a csv file thelma Excel Worksheet Functions 1 January 20th 05 04:33 PM


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