on 09-01-2014 4:51 PM
Hi exeperts. The SAP does not accept, use variables in their addresses? For example:
In the line :
session.findById("wnd[0]/usr/sub:SAPMM07R:0521/chkRESB-XLOEK[i-1,83]").Selected = True
Thank's
for i=1 to 15
If Cells(x, 4) = i Then
session.findById("wnd[0]/usr/sub:SAPMM07R:0521/chkRESB-XLOEK[i-1,83]").Selected = True
session.findById("wnd[0]/tbar[0]/btn[11]").press
Cells(x, 3) = session.findById("wnd[0]/sbar").Text
End If
Next
rue
Hello.
You need to write variables in a few that script identify it as an variable:
session.findById("wnd[0]/usr/sub:SAPMM07R:0521/chkRESB-XLOEK[" & (i-1) & ",83]").Selected = True
Hope this helps.
Best regards,
Holger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.