Exporting query to a Excel workbook

  • Thread starter Thread starter Maracay
  • Start date Start date
M

Maracay

Hi Guys,

Is possible to export a query to a excel file that already exist, but in a
new workbook?

Thanks
 
In Excel, a WorkBook is an Excel file. I assume you mean a WorkSheet which
is a tab in an Excel file.

Yes you can. You use the Range argument of the TransferSpreadsheet method
to pass the name of the worksheet.
 
Back
Top