Dim dtTestDate As Date
Dim sStartWB As String
Public dtEarliest As Date
Const sPath As String = "Z:\Report\"
dtEarliest = now()-10
dtTestDate = Date
sStartWB = ActiveWorkbook.Name
While ActiveWorkbook.Name = sStartWB And dtTestDate >= dtEarliest
On Error Resume Next
Workbooks.Open sPath & Format(dtTestDate, "MM.DD.YYYY") & " Report.xlsx"
dtTestDate = dtTestDate - 1
On Error GoTo 0
Wend
If ActiveWorkbook.Name = sStartWB Then MsgBox "Earlier file not found."
So that does work, thanks for your help! I do get a message though until my macro finds a matching date. To dismiss it, i have to click ok, and it proceeds to the next date. Any way to remove the notification?