When I save an excell document and I go to see its properties (summary), I realize that the user and company with which the program is registered appears there. I can take everything except the "last saved by". How can I take it?
Thank you for your question. I never bothered to check it out so this is an excellent opportunity.
The following displays a message box with the "last saved by" entry, the next bit pops a list of all BuiltinDocumentProperties into the worksheet:
The Last saved by/Last author seems to be the User Name(under Tools, Options) of the user who last saved the file.
This Office User Name can be changed. So, you could store the User Name in variable, change the User Name, save the file, set the User Name back to the name that you stored in the variable and close the file. Not an elegant solution ...
Sub test()
Dim oldlastauthor As String
Dim oldauthor As String
Dim newauthor As String
It seems that besides this "superficial" and easily accessible information, Excel also stores stuff like last saved by in a different way ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.