S
Sunny
Hi,
I am transfering data to spreadsheet and I need number of rows generated in
spreadsheet.
This is my code
Dim rs AS New ADODB.Recordset
Dim adoCommand AS ADODB.Command
....
....
....
set rs = adoCommand.Execute
xlWS.Cells(1,1).CopyFromRecordset rs - transfers about 5000 lines
n = rs.recordcont - which gives me -1 all time and
Is there any oter way to find # of rows transfered?
Thanks.
I am transfering data to spreadsheet and I need number of rows generated in
spreadsheet.
This is my code
Dim rs AS New ADODB.Recordset
Dim adoCommand AS ADODB.Command
....
....
....
set rs = adoCommand.Execute
xlWS.Cells(1,1).CopyFromRecordset rs - transfers about 5000 lines
n = rs.recordcont - which gives me -1 all time and
Is there any oter way to find # of rows transfered?
Thanks.