Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Option Explicit
Private Sub Workbook_Open()
Dim i As Integer
With Application.FileSearch
.LookIn = CurDir
.FileType = msoFileTypeExcelWorkbooks
.FileName = ThisWorkbook.FullName
.Execute
For i = 1 To .FoundFiles.Count
If UCase(.FoundFiles.Item(i)) = UCase(ThisWorkbook.FullName) Then
Range("LastSavedDateTime").Value = FileDateTime(.FoundFiles.Item(i))
End If
Next i
End With
End Sub