Re: Refreshing imported tables with VBA
Hi Kevin,
The refreshing of tables imported by MySQL for Excel into Excel workbooks is done through custom code using Visual Studio Tools for Office. Unfortunately VSTO does not expose a hook for Workbook.Refresh or Workbook.RefreshAll that MySQL for Excel can use to call the custom refresh for MySQL tables.
So, the custom refresh code is called when doing a Refresh All using the button in the Office ribbon or using the context menu or using the standard menu. This means the VBA call you mentioned will not do what you need.
There is a plan for a future version of MySQL for Excel to support an API exposed to VBA where people can leverage operations done by MySQL for Excel, which would be useful for people that needs this kind of scripting within Excel.
Best regards.
====================================
Javier Treviño
MySQL on Windows Team
Subject
Views
Written By
Posted
1208
March 29, 2018 02:53AM
Re: Refreshing imported tables with VBA
767
April 05, 2018 09:52AM
610
June 12, 2018 10:09AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.