Hello one and all,
Been looking pop a simple message on opening a file. Checks if the data is up to date, if note alerts me to update.
Tried this in thisworkbook object, but no joy?
Private Sub Worksheet_Open()
If ActiveWorkbook.Worksheets("FleetChanges").Range("Q4") > 7 Then
MsgBox "Data is >7 days old, update data"
End If
End Sub
Cheers
Been looking pop a simple message on opening a file. Checks if the data is up to date, if note alerts me to update.
Tried this in thisworkbook object, but no joy?
Private Sub Worksheet_Open()
If ActiveWorkbook.Worksheets("FleetChanges").Range("Q4") > 7 Then
MsgBox "Data is >7 days old, update data"
End If
End Sub
Cheers