We have an excel file that is stored on teams/sharepoint. It is opened and modified from there. I originally put in this VBA to display and it seemed to work on my desktop, but once I uploaded that file to teams it doesn't seem to update correctly. I am not sure if this only works for actual "saves" since I don't think they click "save" when they edit it. I was not sure if I needed to use AfterRemoteChange or some other function and how I would set that up.
I just want it to display the last time someone made any changes to the form/entered data in the form.
I just want it to display the last time someone made any changes to the form/entered data in the form.
VBA Code:
Function LastModified() As Date
LastModified = ActiveWorkbook.BuiltinDocumentProperties("Last Save Time")
End Function