Code:
If ((DateDiff((Cells(nRow, 7).Value), Date, "d") > 1) & ((DateDiff(Date, (Cells(nRow, 8).Value), "d")) > 1)) Then
Sheets("Sheet").Cells(nRow, 33) = "Active"
End If
When my macro runs through the above code, I get a type mismatch error. All of the cells are formatted at Date only.
Any ideas?
Thank you.