snakehips2000
Programmer
I'm looking to execute a SQL Server script which I've saved as a .sql file, from Excel VBA, and export the results into another Excel workbook via ADO.
Could someone please supply a simple example?
It's the referencing of the .sql file which I can't get my head around. Presumably, I also need to use the CopyFromRecordset method at some stage too?
Thanks
Could someone please supply a simple example?
It's the referencing of the .sql file which I can't get my head around. Presumably, I also need to use the CopyFromRecordset method at some stage too?
Thanks