View Single Post
 
Old 09-09-2021, 10:53 AM
Alaska1 Alaska1 is offline Windows 7 64bit Office 2007
Competent Performer
 
Join Date: Nov 2011
Posts: 110
Alaska1 is on a distinguished road
Default

Thank you. The below worked.

Paste the following code into the new module:Public Function ModDate()ModDate = Format(FileDateTime(ThisWorkbook.FullName), “m/d/yy h:n ampm”)End Function
Before saving your module, make sure to save your Excel file as Excel Macro-Enabled Workbook
Save your module
Return to your Excel worksheet
Paste the following code into the cell where you want to display the last modification time: =ModDate()
Reply With Quote