Share via

SAP GUI Scripting / EXCEL VBA

Anonymous
2024-10-19T15:03:26+00:00

I had trying to automate some of the SAP Process. Earlier it used to be worked on my laptop itself but now from past few days I am getting error as " Runtime error -2147221020 (800401e4) Automation error Invalid Syntax "

After debugging, I came to know that error has been thrown at this point

Set SapGuiAuto = GetObject("SAPGUI")

My SAP LOGON window is already in open

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2024-10-20T12:05:54+00:00

    @Harry, Yes I had posted a question on Stack Overflow with VBA tag

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-10-20T07:37:54+00:00

    Hi Anonymous1019WP,

    Greetings. Thank you for posting the thread to our community.

    Based on your description, since our category is mainly focus on the general and build-in features queries of Excel, and your query is related to SAP script and VBA code in Excel. I sincerely recommend you post the question in Stack Overflow by using the VBA tag, along with any other relevant tags as there are also many experienced engineers and experts in the forums there.

    At the same time, I will also keep this thread open, so other Community members and Experts can also share their suggestions and inputs.

    Appreciate for your patience and understanding.

    Hope you having a nice day.

    Sincerely,

    Harry | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments