Updating Oracle Table from Excel VBA Macro using ODBC connection
问题 I have a sheet in Excel 2010 which pulls data in QueryTables from an Oracle database, connected via an ODBC DSN. I need to take data from the spreadsheet and use it to update a table in the same Oracle database. I cannot do an update from a QueryTable, but that is the only connection method I have been able to get to work with the ODBC. I have tried setting up a ADODB connection, but I am getting a 'Run-time error '-2147467259 (80004005'): Automation error Unspecified error Here is the code I