Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kempster
 
Posts: n/a
Default Formula for Last Saved on outside of Header/Footer

I am wanting to have a cell reference that displays the Date the file was
last saved on. Or unless someone knows of another way for me to display on
my spreadsheet "Updated on .............". I don't want to use it in the
Header/Footer section though.

I am not real good with VBasic so a formula like =cell(filename",A1) would
be good.
  #2   Report Post  
Ron de Bruin
 
Posts: n/a
Default

Hi Kempster

Try this event in the Thisworkbook module that run when you save your workbook
It will fill in the date in Sheets("Sheet1").Range("a1").

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, _
Cancel As Boolean)
'If you save the file the date will be placed in cell A1 of Sheet1
Sheets("Sheet1").Range("a1").Value = "Updated on " & Date
End Sub


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Kempster" wrote in message ...
I am wanting to have a cell reference that displays the Date the file was
last saved on. Or unless someone knows of another way for me to display on
my spreadsheet "Updated on .............". I don't want to use it in the
Header/Footer section though.

I am not real good with VBasic so a formula like =cell(filename",A1) would
be good.



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
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
put formula results into a different cell if it is empty PutFormula Excel Worksheet Functions 2 February 11th 05 03:31 AM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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