title: Programmatically add a hyperlink button to outlook 2007
body: <p>I am adding a toolbar to Outlook.</p>
  
  <p>The toolbar will have one button on it.</p>
  
  <p>This button, when pressed, will open up a web site.</p>
  
  <p>I've created the button &amp; toolbar no problem, but cannot work out how to add the hyperlink?</p>
  
  <pre><code>  Set oTBar = oView.Add("toolbarname")
    oTBar.Position = 1
    oTBar.Visible = true
  
    Set oButton = OTBar.Controls.Add
    With oButton
        .Caption = "Click here!"
        .Style = 3
        .HyperlinkType = 1
        .FaceId = 1707     
     End with
  </code></pre>