Hi.
I have an ODBC Datasource setup (it is a MySQL database behind it) and I would like to write a Macro in Word to go through this database open a document, defined in the database, change the document properties title, save the document, close the file and move onto the next one. I have a good idea of how to do all of this apart from I connect get a connect to the database. Could someone point me in the right direction or a URL to an example of how to connect to an ODBC datasource from Word VBA as nothing I have found so far actually works.
Thanks in advanced.
Best Regards
Andrew.
I have an ODBC Datasource setup (it is a MySQL database behind it) and I would like to write a Macro in Word to go through this database open a document, defined in the database, change the document properties title, save the document, close the file and move onto the next one. I have a good idea of how to do all of this apart from I connect get a connect to the database. Could someone point me in the right direction or a URL to an example of how to connect to an ODBC datasource from Word VBA as nothing I have found so far actually works.
Thanks in advanced.
Best Regards
Andrew.