I would like to display “last save date” automatically in a cell in excel. Writing VBA code may not feasible as the people creating the excel sheets may not be familiar with writing VBA codes.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
well, they wont have to write this code, if you pack it as an add-in – but you/they will have to use macros – no other way to do this.
Adapted from excel-help, looking for DateLastModified.
Save this in a Module, then follow a “distibute as add-in”-howto.
Now, if I didn’t make any basic error, this should provide any workbook with a new worksheet-function
=LastSaveTime(), which returns the DateLastModified of the active workbook. There might be a catch, because of the activeworkbook – it might be saver to use anapplication.callerconstruct, when using this as an add-in.