Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error connecting from excel to sap in automatic mode

Hi, I want to connect to sap from excel without it shows the logon screen. I use the following sentence:

If <b>R3.Connection.logon(0, True</b>) <> True Then

If the value of parameter is <b>False</b>, shows logon to me and works well, with <b>True</b> it gives error and it does not connect.

The object R3 has been created as

Set R3 = <b>CreateObject("SAP.Functions")</b>


Former Member
Not what you were looking for? View more on this topic or Ask a question