on 11-23-2017 11:29 PM
Hello,
I am running ME21n and need assign below variables for VBA to run in SAP.
I need " 3" to be replaced with something like i+1 in order to continue looping with Numbers ( 4,5,6 and etc ) . Script is working with numbers.
Please, explain in a beginner language. Thanks in advance
Public Sub RunGUIScript()
Dim W_Ret As Boolean
Dim i As Integer
W_Ret = Attach_Session
If Not W_Ret Then
Exit Sub
End If
i = 0
do
objSess.findById("wnd[0]/usr/subSUB0:SAPLMEGUI:0019/subSUB3:SAPLMEVIEWS:1100/subSUB2:SAPLMEVIEWS:1200/subSUB1:SAPLMEGUI:1301/subSUB1:SAPLMEGUI:6000/cmbDYN_6000-LIST").Key = " 3"
i = i + 1
Loop
Sub Startextract()
Dim currentline As Integer
W_System = "BH1100"
RunGUIScript
objSess.EndTransaction
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.