Private Sub Workbook_Open()
Application.ScreenUpdating = False
On Error Resume Next
Dim iAF As Variant, iAG As Variant, iR&, lR&, d As Date: d = Date
lR = Cells(Rows.Count, 1).End(xlUp).Row
iAF = Range("F12:F" & lR).Value
For iR = 1 To UBound(iAF)
If iAF(iR, 1) > d Then
Dim m As Integer, mp$, mt$
mt = "Next?"
mp = "Need to check Date in F" & iR& + 11
m = MsgBox(mp, 4 + 32, mt)
If m = 6 Then
Else
Exit Sub
End If
End If
Next
iAG = Range("G12:G" & lR).Value
For iR = 1 To UBound(iAF)
If iAG(iR, 1) < d Then
mt = "Next?"
mp = "Need to check Date in G" & iR& + 11
m = MsgBox(mp, 4 + 32, mt)
If m = 6 Then
Else
Exit Sub
End If
End If
Next
Application.ScreenUpdating = True
End Sub