#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Date Formatting

Is there a way like in Word I can have a cell in excel which will show the
date the worksheet was last updated?

Please and thank you.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Date Formatting

See this previous post with a similar question.
http://www.microsoft.com/office/comm...e-29c3bb4e1fdf
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Eán" wrote:

Is there a way like in Word I can have a cell in excel which will show the
date the worksheet was last updated?

Please and thank you.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 75
Default Date Formatting

Hold down ALT and hit F11. Insert a new Module and pase the following code
into it:-

Public Function LastModified()
LastModified = Format(FileDateTime(ThisWorkbook.FullName), "dd/mm/yy hh:nn")
End Function


On you spreadsheet click in the cell you want the date to appear and type
the following into the formula bar:-

=LastModified()

That should just about do it.

--
Alan Moseley IT Consultancy
http://www.amitc.co.uk

If I have solved your problem, please click Yes below. Thanks.


"Eán" wrote:

Is there a way like in Word I can have a cell in excel which will show the
date the worksheet was last updated?

Please and thank you.

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
conditional formatting for cell date to equal today's date Sistereinstein Excel Worksheet Functions 2 September 10th 12 07:53 PM
Formatting as date gwplotts via OfficeKB.com Excel Worksheet Functions 3 April 17th 07 03:09 PM
Date Formatting (*) jbc Excel Discussion (Misc queries) 2 October 9th 06 06:09 PM
Formatting Date newguy Excel Discussion (Misc queries) 4 September 18th 06 01:49 PM
date formatting BernieH Excel Discussion (Misc queries) 2 May 30th 05 03:33 PM


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