title: Query table before refresh event not calling
body: <p>I have set up a query from a pervasive sql database and would like to write some code that should execute before the query table is refreshed.</p>
  
  <p>I have put the following code in the <code>sheet1 object</code> where the table is located. This is just to see if I can get the before refresh event to work.</p>
  
  <pre><code>Private Sub querytable_beforerefresh(Cancel As Boolean)
  
  MsgBox ("brace for update")
  
  End Sub
  </code></pre>
  
  <p>Needless to say, When I refresh the query table I don't receive a msgbox, nor do I get a debug error.<br><br>
  Is there something else I need to do to use the beforerefresh event?</p>