title: Visual Basic - how to force event to fire
body: <p>I'm new to VB (using VBA, actually) and I would like to force an event to fire.  Specifically, I am updating the value in a textbox and I would like to call that textbox's AfterUpdate() event.  </p>
  
  <pre><code>Private Sub cmdCreateInvoice_Click()
    Me.txtInvDate = '11/01/10'
    Me.txtInvDate.AfterUpdate
  End Sub
  </code></pre>
  
  <p>During run time, I get an error that says "Compile Error: Invalid Use of Property".  If I try something similar, but with the click event (ex: cmdCreateInvoice.Click), which does NOT have a property that shares the name, I get an error that says "Compile Error: Method or Data member not found".<br>
  I know there must be a way to fire one event from another.  But what is the proper syntax?
  Thanks!</p>