Using excel value with loop - not printing values - printing col numbers

Nice idea, but a variable inside a variable is not supported yet. That is why only the inner variable gets expanded.

Solution: You can use if/endif instead:

if (${no} == 1) 
store | ${!col1} | test
endif
if (${no} == 2) 
store | ${!col2} | test
endif
if (${no} == 3) 
store | ${!col3} | test
endif
...
1 Like