ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Using ADO to run an action query from excel (https://www.excelbanter.com/excel-programming/339477-using-ado-run-action-query-excel.html)

vqthomf

Using ADO to run an action query from excel
 
I need to run an action query to make a table with data from another
database, using VBA is it possible to do this as I keep getting an error?.
TIA
Charles

K Dales[_2_]

Using ADO to run an action query from excel
 
You should be able to use any SQL statement supported by your database/ODBC
driver, and that usually includes action queries. But keep in mind your
database login (user ID, password) needs to be Admin level or at least have
permission to modify the db structure if you want to do a make table query.
Beyond that cannot comment without seeing your code and knowing what the
error message is and where it occurs.
--
- K Dales


"vqthomf" wrote:

I need to run an action query to make a table with data from another
database, using VBA is it possible to do this as I keep getting an error?.
TIA
Charles



All times are GMT +1. The time now is 07:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com