0

If all data and columns are uniform in Excel but each worksheet has different names, will this disrupt my ForEach Loop Container?

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.