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