View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Cameron[_4_] Cameron[_4_] is offline
external usenet poster
 
Posts: 2
Default 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