J
James
I added a cmd button in a form that when I click on it, it
runs a stored procedure that uses ActiveX EXE method to
copy a recordset of a query result to an Excel file. What
I need to do is the following:-
after the recordset of the query is copied to the Excel
file, I want to copy the recordset of another query to the
same Excel file and the same workbook. I don't want the
second recordset to overwrite the first recordset from the
first query. I want it to be copied after the last row of
data from the first recordset. What is the code to use for
this?
Hope this wasn't to confusing.
Thanks
runs a stored procedure that uses ActiveX EXE method to
copy a recordset of a query result to an Excel file. What
I need to do is the following:-
after the recordset of the query is copied to the Excel
file, I want to copy the recordset of another query to the
same Excel file and the same workbook. I don't want the
second recordset to overwrite the first recordset from the
first query. I want it to be copied after the last row of
data from the first recordset. What is the code to use for
this?
Hope this wasn't to confusing.
Thanks