If all data and columns are uniform in Excel but each worksheet has different names, will this disrupt my ForEach Loop Container?
1 Answer
If you create a variable of string type and assign the sheetname value to it dynamically then it won't affect your Foreach Container.
Please make sure that the variable name ends with "$".
So put some logic to retrieve sheetname first and then assign it to variable.
If you are interested in getting sheetname list, then follow this MSDN article.
Also here is the way to loop through Excel Files and Tables by Using a Foreach Loop Container