ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel sample with ADO / SQL (https://www.excelbanter.com/excel-programming/411016-excel-sample-ado-sql.html)

Steve

Excel sample with ADO / SQL
 
I was wondering if someone could post a simple bit of VBA that would run a
basic "SELECT" query on a database using ADO and put the values in a
spreadsheet. This would be a great help.

Norman Jones[_2_]

Excel sample with ADO / SQL
 
Hi Steve,

See Ole P. Erlandsen at:

Import data from Access to Excel (ADO)
http://www.erlandsendata.no/english/...badacimportado


---
Regards.
Norman


"steve" wrote in message
...
I was wondering if someone could post a simple bit of VBA that would run a
basic "SELECT" query on a database using ADO and put the values in a
spreadsheet. This would be a great help.



Ron de Bruin

Excel sample with ADO / SQL
 
hi Steve

See
http://www.rondebruin.nl/accessexcel.htm

See also this page from Ole P. Erlandsen's
http://www.erlandsendata.no/english/...php?t=envbadac



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"steve" wrote in message ...
I was wondering if someone could post a simple bit of VBA that would run a
basic "SELECT" query on a database using ADO and put the values in a
spreadsheet. This would be a great help.



All times are GMT +1. The time now is 05:47 PM.

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