|Excel Developer Reference|
Occurs before any refreshes of the query table. This includes refreshes resulting from calling the Refresh method, from the user's actions in the product, and from opening the workbook containing the query table.
expression A variable that represents a QueryTable object.
|Cancel||Required||Boolean||False when the event occurs. If the event procedure sets this argument to True, the refresh doesn't occur when the procedure is finished.|
This example runs before the query table is refreshed.
|Visual Basic for Applications|