cancel
Showing results for 
Search instead for 
Did you mean: 

How to loop sap table using excel vba

Former Member
0 Kudos

Session.FindById("wnd[0]/usr/subCATS002:SAPLCATS:2200/tblSAPLCATSTC_CATSD/ctxtCATSD-SKOSTL[1,2]").Text = CsCenter

i need to change the [1,2] to [1, "my value from excel"] for the next loop since this line is coming in between the sap Gui script.

Kindly help me to over come this issue.

Accepted Solutions (1)

Accepted Solutions (1)

script_man
Active Contributor
0 Kudos

Please try it here:

Session.FindById("wnd[0]/usr/subCATS002:SAPLCATS:2200/tblSAPLCATSTC_CATSD/ctxtCATSD-SKOSTL[1," & cstr(i) & "]").Text = CsCenter

Regards,

ScriptMan

Answers (0)