https://rpatoolautomationanywhere.blogspot.com/2019/09/loop-command.html
Loop Command