ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Date Formatting (https://www.excelbanter.com/excel-worksheet-functions/214510-date-formatting.html)

Eán[_2_]

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.

Luke M

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.


Alan Moseley

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.



All times are GMT +1. The time now is 03:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com