title: How to run code in a custom appointment tab?
body: <p>I'm trying to write an extension to my Outlook calendar - More specifically the appointment module. (Form designer)</p>
  <p>I have a button in my designer, that I want to write some simple code around.</p>
  <pre><code>Sub CommandButton1_Click()
      msgbox &quot;Hello World&quot;
  End Sub
  </code></pre>
  <p>The above code is put into the code editor that appears when I press &quot;View code&quot;. Nothing happens.</p>
  <p>How do I get a commandbutton to trigger a simple alert in the Outlook form designer?</p>