Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DRK DRK is offline
external usenet poster
 
Posts: 40
Default Excel Sheet Timestamp

How do I insert a timestamp for the last time a sheet was saved? I've looked
at the NOW and TODAY functions, but these change each time I open the sheet.
I only want the formula to change IF I save the sheet. Can anyone offer any
suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 296
Default Excel Sheet Timestamp

On Mon, 16 Oct 2006 09:37:02 -0700, DRK
wrote:

How do I insert a timestamp for the last time a sheet was saved? I've looked
at the NOW and TODAY functions, but these change each time I open the sheet.
I only want the formula to change IF I save the sheet. Can anyone offer any
suggestions?


In Workbook BeforeSave event put

Range("MyTimeStamp") = Time


HTH
__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default Excel Sheet Timestamp


DRK wrote:
How do I insert a timestamp for the last time a sheet was saved? I've looked
at the NOW and TODAY functions, but these change each time I open the sheet.
I only want the formula to change IF I save the sheet. Can anyone offer any
suggestions?


are you looking for VBA code or a formula?

AR

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 40
Default Excel Sheet Timestamp

Place this code in the "ThisWorkbook" Module.

To get to VBA, Hit Alt-F11


Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As _
Boolean)
Range("d1") = Now
End Sub

ducky wrote:
DRK wrote:
How do I insert a timestamp for the last time a sheet was saved? I've looked
at the NOW and TODAY functions, but these change each time I open the sheet.
I only want the formula to change IF I save the sheet. Can anyone offer any
suggestions?


are you looking for VBA code or a formula?

AR


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DRK DRK is offline
external usenet poster
 
Posts: 40
Default Excel Sheet Timestamp

Hopefully a formula...I'd like to include it in a cell.

"ducky" wrote:


DRK wrote:
How do I insert a timestamp for the last time a sheet was saved? I've looked
at the NOW and TODAY functions, but these change each time I open the sheet.
I only want the formula to change IF I save the sheet. Can anyone offer any
suggestions?


are you looking for VBA code or a formula?

AR




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Excel Sheet Timestamp

Hi

You can't use a formula (as it will change each time as you have found).
That is why others have suggested a VBA solution to provide the date or
timestamp..
If you want to enter to a cell manually, then

To enter Date into a cell type Ctrl + ; - that's Control + semicolon
To enter Time into a cell type Ctrl + : - that Ctrl + colon or Ctrl
+ Shift + semicolon
--
Regards

Roger Govier


"DRK" wrote in message
...
Hopefully a formula...I'd like to include it in a cell.

"ducky" wrote:


DRK wrote:
How do I insert a timestamp for the last time a sheet was saved?
I've looked
at the NOW and TODAY functions, but these change each time I open
the sheet.
I only want the formula to change IF I save the sheet. Can anyone
offer any
suggestions?


are you looking for VBA code or a formula?

AR




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DRK DRK is offline
external usenet poster
 
Posts: 40
Default Excel Sheet Timestamp

I see. Thanks, this looks like it works!

"Roger Govier" wrote:

Hi

You can't use a formula (as it will change each time as you have found).
That is why others have suggested a VBA solution to provide the date or
timestamp..
If you want to enter to a cell manually, then

To enter Date into a cell type Ctrl + ; - that's Control + semicolon
To enter Time into a cell type Ctrl + : - that Ctrl + colon or Ctrl
+ Shift + semicolon
--
Regards

Roger Govier


"DRK" wrote in message
...
Hopefully a formula...I'd like to include it in a cell.

"ducky" wrote:


DRK wrote:
How do I insert a timestamp for the last time a sheet was saved?
I've looked
at the NOW and TODAY functions, but these change each time I open
the sheet.
I only want the formula to change IF I save the sheet. Can anyone
offer any
suggestions?

are you looking for VBA code or a formula?

AR





  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Excel Sheet Timestamp

"DRK" wrote in message
...
How do I insert a timestamp for the last time a sheet was saved? I've
looked
at the NOW and TODAY functions, but these change each time I open the
sheet.
I only want the formula to change IF I save the sheet. Can anyone offer
any
suggestions?

Personnally I use
date with time (ctrl+semicolon)(space)(ctrl+Shift+colon)
Apply what ever format you want


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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Asked previously...can this not be done in excel simonsmith Excel Discussion (Misc queries) 2 May 16th 06 11:50 PM
Excel Sheet default setting. vishu Excel Discussion (Misc queries) 2 September 29th 05 04:36 PM
In Excel, how do you make one whole sheet equal to another. ryan Excel Discussion (Misc queries) 2 August 31st 05 07:03 PM
EXCEL FORMAT PROBLEM WHEN SENDING EXCEL SHEET AS MESSAGE BODY IN . P.S.Sodha Excel Discussion (Misc queries) 0 April 2nd 05 01:53 PM


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