on 05-14-2018 10:27 AM
Hi,
I have an Excel workbook with an analysis for office connection. I intended to create a script which will open the Excel workbook, and then use VBA to update the analysis connection. However, I cannot get the login to work, without having to manually type the password. This is the code I am currently using:
Sub SAPBWLogon()
Dim lResult As Long
lResult = Application.Run("SAPLogon", "DS_1", "010", "USER", "PASSWORD", "EN")
lResult = Application.Run("SAPExecuteCommand", "Refresh", "DS_1")
End Sub
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.