Hi,
I'm using an Access front-end form to dynamically create some SQL from our Oracle server via a generic pass-through query, due to the fact that the query can routinely concern several thousand records that would otherwise consume a lot of time using Jet SQL. At any rate, I would like to automatically transfer the spreadsheet (using something like the DoCmd.TransferSpreadsheet method) to Excel, where I can then run some VBA to clean and format the sheet. However, I get an error in Access when my VBA module hits the TransferSpreadsheet action, that tells me something like "Operation is not supported for this type of object." Using Jet SQL to create the query is not really an option, due to potential size, so what else can I do to automatically throw the resulting datasheet into Excel?
Thanks for your help.
Shaun
I'm using an Access front-end form to dynamically create some SQL from our Oracle server via a generic pass-through query, due to the fact that the query can routinely concern several thousand records that would otherwise consume a lot of time using Jet SQL. At any rate, I would like to automatically transfer the spreadsheet (using something like the DoCmd.TransferSpreadsheet method) to Excel, where I can then run some VBA to clean and format the sheet. However, I get an error in Access when my VBA module hits the TransferSpreadsheet action, that tells me something like "Operation is not supported for this type of object." Using Jet SQL to create the query is not really an option, due to potential size, so what else can I do to automatically throw the resulting datasheet into Excel?
Thanks for your help.
Shaun