title: GetObject(, "Outlook.Application") not working with Outlook open
body: <p>I am using the below code in an Excel file which can be accessed and used by multiple people. The extract checks to see if Outlook is open before proceeding with the rest of the code.</p>
  
  <pre><code>Dim oOutlook As Object
  
  'Checks to see if Outlook is open
  On Error Resume Next
  Set oOutlook = GetObject(, "Outlook.Application")
  On Error GoTo 0
  
  If oOutlook Is Nothing Then
      MsgBox "Outlook is not open."
      Exit Sub
  End If
  Set oOutlook = Nothing
  </code></pre>
  
  <p>The code seems to work for everyone apart from one person/computer. For this one person/computer, even with Outlook open, the line of code
      <code>Set oOutlook = GetObject(, "Outlook.Application")</code>
  does not seem recognise that it is open. I've checked the usual things: made sure the VBA references are set up correctly, security settings seem to be the same as everyone else.</p>
  
  <p>Any suggestions would be greatly appreciated.</p>