Sample files for StackOverflow question 32974553
Contains an .xlsm Excel workbook with two tabs.
A button in the first tab will trigger a web query that populates the second tab.
In order to catch the completion of any load, code executes during Workbook.Open to set a global instance of a class module that handles QueryTable_AfterRefresh events.
Source code for the workbook is in two VBA files in the src folder.
An earlier version of this demo that was incomplete lives in the v1 branch.