My ADODB.Recordset is being populated as desired for 5 records, then all subsequent records don't get added anywhere. I checked in debug and the code runs through this loop the desired 8 times, but only adds a record the first 5.
Any ideas why this is happening to me?
Thanks for any input!
Any ideas why this is happening to me?
Code:
With doc.Tables(8) For I = 2 to .Rows.Count S.AddNew S![PN] = .Cell(I,3).Range.Text 'and more lines like this ^ S.Update Next End With
Comment