ExcelBanter

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

geza

Date function
 
Hello everyone,

I need help with the following problem: how would I invoke the function I
listed below in order for the LMD (Last Modified Date) to display in the
footer?

Function LMD()
LMD = ActiveWorkbook.BuiltinDocumentProperties("Last Save Time")
End Function

Thank you



Peo Sjoblom

You would need a macro

Sub LMD()
On Error Resume Next
ActiveSheet.PageSetup.RightFooter = _
ActiveWorkbook.BuiltinDocumentProperties("Last Save Time")
End Sub

or automatically

http://www.rondebruin.nl/print.htm#Saved


--

Regards,

Peo Sjoblom


"geza" wrote in message
...
Hello everyone,

I need help with the following problem: how would I invoke the function I
listed below in order for the LMD (Last Modified Date) to display in the
footer?

Function LMD()
LMD = ActiveWorkbook.BuiltinDocumentProperties("Last Save Time")
End Function

Thank you





geza

Thank you very much,
Geza.

"Peo Sjoblom" wrote:

You would need a macro

Sub LMD()
On Error Resume Next
ActiveSheet.PageSetup.RightFooter = _
ActiveWorkbook.BuiltinDocumentProperties("Last Save Time")
End Sub

or automatically

http://www.rondebruin.nl/print.htm#Saved


--

Regards,

Peo Sjoblom


"geza" wrote in message
...
Hello everyone,

I need help with the following problem: how would I invoke the function I
listed below in order for the LMD (Last Modified Date) to display in the
footer?

Function LMD()
LMD = ActiveWorkbook.BuiltinDocumentProperties("Last Save Time")
End Function

Thank you







All times are GMT +1. The time now is 01:09 PM.

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