<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Accessing SAP using Excel VBA - Invalid Syntax Error in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/accessing-sap-using-excel-vba-invalid-syntax-error/qaa-p/12267586#M4595285</link>
    <description>&lt;P&gt;Hello Parvez,&lt;/P&gt;&lt;P&gt;the error 800401e4 means that you can't get the object from the running object table (ROT). Be sure that your SAP Logon is open, that SAP GUI Scripting is installed and activated, on the client and server side.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://help.sap.com/viewer/8ecea00c1f854fd0a433c4aef5da1ea2/Cloud/en-US/6b189bbfa4cc4b9995799614bfc9ae47.html"&gt;Enable Scripting on Client Side&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://help.sap.com/viewer/8ecea00c1f854fd0a433c4aef5da1ea2/Cloud/en-US/001675913cc54719930aa8197478dcde.html"&gt;Enable Scripting on Server Side&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If all these conditions apply, you should also get the object from the ROT.&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Stefan&lt;/P&gt;</description>
    <pubDate>Sat, 12 Dec 2020 07:43:13 GMT</pubDate>
    <dc:creator>Stefan-Schnell</dc:creator>
    <dc:date>2020-12-12T07:43:13Z</dc:date>
    <item>
      <title>Accessing SAP using Excel VBA - Invalid Syntax Error</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-sap-using-excel-vba-invalid-syntax-error/qaq-p/12267583</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;
  &lt;P&gt;We want to run SAP Script from Excel VBA programming. We are getting error message while executing scripts at following line of code: &lt;/P&gt;
  &lt;P&gt;SAP Version: 7.6&lt;/P&gt;
  &lt;P&gt;Excel Version: 365 Pro Plus&lt;/P&gt;
  &lt;P&gt;If objGui Is Nothing Then &lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt; Set SapGuiAuto = GetObject("SAPGUI") &lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt; Set objGui = SapGuiAuto.GetScriptingEngine &lt;/P&gt;
  &lt;P&gt;End If&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Error Message: &lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;VBA References added : &lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;
  &lt;P&gt;Please suggest how to resolve this issue. &lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 17:50:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-sap-using-excel-vba-invalid-syntax-error/qaq-p/12267583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-12-08T17:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SAP using Excel VBA - Invalid Syntax Error</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-sap-using-excel-vba-invalid-syntax-error/qaa-p/12267584#M4595283</link>
      <description>&lt;P&gt;I guess you tried to paste a screenshot of the error, but it failed, nothing is shown.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 20:26:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-sap-using-excel-vba-invalid-syntax-error/qaa-p/12267584#M4595283</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-12-08T20:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SAP using Excel VBA - Invalid Syntax Error</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-sap-using-excel-vba-invalid-syntax-error/qaa-p/12267585#M4595284</link>
      <description>&lt;P&gt;Hi Sandra, &lt;/P&gt;&lt;P&gt;Thanks for response. Pls find attached error screenshot and reference added to Excel. &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1869622-capture.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1869623-capture1.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 14:36:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-sap-using-excel-vba-invalid-syntax-error/qaa-p/12267585#M4595284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-12-09T14:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SAP using Excel VBA - Invalid Syntax Error</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-sap-using-excel-vba-invalid-syntax-error/qaa-p/12267586#M4595285</link>
      <description>&lt;P&gt;Hello Parvez,&lt;/P&gt;&lt;P&gt;the error 800401e4 means that you can't get the object from the running object table (ROT). Be sure that your SAP Logon is open, that SAP GUI Scripting is installed and activated, on the client and server side.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://help.sap.com/viewer/8ecea00c1f854fd0a433c4aef5da1ea2/Cloud/en-US/6b189bbfa4cc4b9995799614bfc9ae47.html"&gt;Enable Scripting on Client Side&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://help.sap.com/viewer/8ecea00c1f854fd0a433c4aef5da1ea2/Cloud/en-US/001675913cc54719930aa8197478dcde.html"&gt;Enable Scripting on Server Side&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If all these conditions apply, you should also get the object from the ROT.&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2020 07:43:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-sap-using-excel-vba-invalid-syntax-error/qaa-p/12267586#M4595285</guid>
      <dc:creator>Stefan-Schnell</dc:creator>
      <dc:date>2020-12-12T07:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SAP using Excel VBA - Invalid Syntax Error</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-sap-using-excel-vba-invalid-syntax-error/qaa-p/12267587#M4595286</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;What happens if I don't have SAP GUI Scripting API or SessionMsgLib? I am running on Citrix Reciever App&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 14:28:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-sap-using-excel-vba-invalid-syntax-error/qaa-p/12267587#M4595286</guid>
      <dc:creator>nachodrums</dc:creator>
      <dc:date>2023-11-13T14:28:28Z</dc:date>
    </item>
  </channel>
</rss>

