Hello,
I receive a type-mismatch error when compiling. The cells being
referenced only have dates. Can someone help? Heres some of the code
Application.Windows("rpt_BigTicket.xls").Activate
a = Range("D:J")
b = DateValue(Format(Now(), "mm-dd-yyyy")) - Weekday(Now(), 1)
c = Application.VLookup(b, a, 2, False) "This is where the ERROR-13
'Tpye Mismatch occurs'
Bookmarks