Hi Dhookom,
Previously, i didn't use Option Explicit and now i do.
supposedly, they're all of type "string" - myyear1,myyear2, etc.
I changed the following code
Before:
Cancel = (Nz(["'" & myyear1 & "'"], 0) + Nz(["'" & myyear2 & "'"], 0) + Nz(["'" & myyear3 & "'"], 0)) = 0
After:
Cancel =...