VBA excel to communicate with external SQL database

Hi there,

Curious if someone knows how to create

a VBA app that upon a click of a button can connect

to the database "MySQL", query it and return results.

Can this be done with ADO methods?

 

Sincerely,

 

Palu

ODBC Connection

Hi palu,

It can be done using a ODBC connection to the MySQL database, you will still be using ADO and using regular recordsets. Let me look for a code I wrote some time ago and I will get back to you with the connection string.

Regards

 

FFreitas