title: SAP GUI Scripting "Invalid use of property" Error in VBA
body: <p>Hello I am using SAP GUI Scripting tool which uses Excel VBA functionality to complete the task. I am getting <code>Invalid use of property</code> at <code>Set Application = SapGuiAuto.GetScriptingEngine</code> line of code:</p>
  <pre><code>If Not IsObject(Application) Then
     Set SapGuiAuto = GetObject(&quot;SAPGUI&quot;)
     Set Application = SapGuiAuto.GetScriptingEngine
  </code></pre>
  <p>Why do I get this error?</p>