Quantcast
Channel: SCN : Discussion List - Scripting Languages
Viewing all articles
Browse latest Browse all 325

Error with variables

$
0
0

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


Viewing all articles
Browse latest Browse all 325

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>