Microsoft documents a QueryTable.BeforeRefresh event for Excel. I'd love to use it to clear the values from some columns added to the table where a query loads. Here's a pic of the situation:
My problem is, I don't know where to put or how to name a VBA subroutine that I want to run every time my query refreshes, whether it refreshes automatically or because the user requests it to.
So, if my query is called prepareForMS, how do I hook into its BeforeRefresh
event?