Problem using "refreshed" or later DSC recordset to populate spreadsheet

D

Dan Ricker

Instead of using a "For" clause, use a DO/While clause

Do While dscData.RecordsetDefs.Count > 0
dscData.RecordsetDefs.Delete 0
Loop

I agree, that the way you setup the "For" loop it looks
like it should work, but I've always used the Do Loop
method...
 
Top