Thank you so much for your effort. The script ran for 2 hours then crashed at below line:
Cells(1, lng).Resize(Application.Min(UBound(var) + 1, clngSteps)).Value = Application.Index(var, varIndex)
Error message said 'mismatch error'
also, the sheet has been cleared of all data - if it's of any help to you.
Kind Regards




Reply With Quote
Bookmarks