title: Not able to use EmailOptions Property in microsoft Outlook VBA
body: <p>I am experimenting with the EmailOptions property.
  I found the example on Microsoft Docs (<a href="https://docs.microsoft.com/en-us/office/vba/api/word.emailoptions" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/office/vba/api/word.emailoptions</a>) and I am trying out. But it is giving the error: " Object Doesn't Support this Property or Method "</p>
  
  <p>I have added references to MS Word and Excel. What am i missing?</p>
  
  <pre><code>Option Explicit
  
  Sub x()
  With Outlook.Application.EmailOptions.EmailSignature
      If .NewMessageSignature = "" Then
          MsgBox "There is no signature for new " 
      Else
          MsgBox "There is signature for new e-mail"
      End If
  End With
  End Sub
  </code></pre>