I tried a method but it has some flaws…
What I had done was to build an index with the names of all worksheets (using VBA)
So UIPath would copy (from the index) the name for worksheet in A1 to a variable, then do it’s activities like ReadRange or ReadCell using that name in the field SheetName. After that, it would move down one row in the index sheet, copy the name of 2nd worksheet, etc…
But… it seems a few worksheets, among over 950, have spaces in their names.
And the VBA method does NOT copy the space. So worksheet "617 " became “617”… and when UIPath copies “617” to the variable and then tries to find it, it does not find any such worksheet (because the true worksheet name is "617 ".
Any suggestion on a best approach to this problem?