Type Mismatch on Date
That works, thanks Bill!!
Bill Manville wrote in message
Looks like the macro is running before the data has arrived.
Maybe something like this
Do While WorksheetFunction.ISNA(.Cells(3,1).Value)
DoEvents
Loop
MinDate = .Cells(3, 1).Value
Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - reply in newsgroup
|