ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Last open (https://www.excelbanter.com/excel-programming/303517-last-open.html)

Robert Holm

Last open
 
Hi all

Is there anyway to know when then current workbook was last opend?




Nigel

Last open
 
Not to my knowledge, unless you create a stored value with the workbook.

DocumentProperty object maintains the last saved data. You could also read
the last modified date in the File System Object, this way you do not need
to open the file.

If you wish you could create CustomDocumentProperty to record the date last
opended but you would need to maintain it.

Cheers
Nigel

"Robert Holm" wrote in message
...
Hi all

Is there anyway to know when then current workbook was last opend?






Robert Holm

Last open
 
Hello Nigel

Tank you for your answer. To my knowledge the CustomDocumentProperty is read
only. But the reading the last saved date from DocumentProperty will work
me. - Thank you

/Robert

"Nigel" skrev i en meddelelse
...
Not to my knowledge, unless you create a stored value with the workbook.

DocumentProperty object maintains the last saved data. You could also read
the last modified date in the File System Object, this way you do not need
to open the file.

If you wish you could create CustomDocumentProperty to record the date

last
opended but you would need to maintain it.

Cheers
Nigel

"Robert Holm" wrote in message
...
Hi all

Is there anyway to know when then current workbook was last opend?









All times are GMT +1. The time now is 02:58 AM.

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