Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 85
Default Can I Add the last saved Date to cell ref in excel?

Hi anyone

How can I add the last saved date to a cell ref in excel?

Thank you in advance
--
Angela
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Can I Add the last saved Date to cell ref in excel?

Hi,

Alt+F11 to open Vb editor.
Double click 'This Workbook' and paste this in

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Worksheets("Sheet1").Range("A1").Value = Now
End Sub

Mike

"Angela" wrote:

Hi anyone

How can I add the last saved date to a cell ref in excel?

Thank you in advance
--
Angela

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 85
Default Can I Add the last saved Date to cell ref in excel?

Thanks for replying Mike. Should I also add =lastsave() to A1 cell of Sheet1?
--
Angela


"Mike H" wrote:

Hi,

Alt+F11 to open Vb editor.
Double click 'This Workbook' and paste this in

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Worksheets("Sheet1").Range("A1").Value = Now
End Sub

Mike

"Angela" wrote:

Hi anyone

How can I add the last saved date to a cell ref in excel?

Thank you in advance
--
Angela

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Can I Add the last saved Date to cell ref in excel?

Hi,

You can add whatever text you want, the correct syntax is

Worksheets("Sheet1").Range("A1").Value = "Last saved date " & Now

Mike

"Angela" wrote:

Thanks for replying Mike. Should I also add =lastsave() to A1 cell of Sheet1?
--
Angela


"Mike H" wrote:

Hi,

Alt+F11 to open Vb editor.
Double click 'This Workbook' and paste this in

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Worksheets("Sheet1").Range("A1").Value = Now
End Sub

Mike

"Angela" wrote:

Hi anyone

How can I add the last saved date to a cell ref in excel?

Thank you in advance
--
Angela

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
Put Date Worksheet last saved in cell duketter Excel Discussion (Misc queries) 2 June 21st 07 03:42 PM
Populating Last Saved Date in Cell AND also update that same cell in Header o0o_Bigs_o0o Excel Discussion (Misc queries) 2 July 4th 06 12:56 PM
? on "date last saved" in cell chris w Excel Worksheet Functions 2 January 20th 05 12:51 AM
Inserting the date that an excel sheet is saved into a cell sharock Excel Discussion (Misc queries) 2 January 6th 05 07:07 PM
Last saved date into an excel cell Steve J. Vaughan Excel Worksheet Functions 2 December 13th 04 11:17 AM


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