Hi,
I am able to create new excel while exporting data to excel using opendatabase but its not working in case of sending data to multiple tab.
Please provide me working code if any one have.
Query for exporting data:
INSERT INTO OPENDATASOURCE
('Microsoft.ACE.OLEDB.12.0'
, 'Data Source=C:\temp\sample.xlsm;Extended Properties=EXCEL 12.0'
)...[Sheet1$]
SELECT * FROM #SheetDataComplete