I have 5 tabs in an Excel worksheet named by states (“CA”, “FL”, “GA”, “MN”, “NC”).
I have a main.xaml where I can open an excel file reference as “Zips”, and For Each CurrentRow In range Zips.Sheet(“CA”) iterate through the CA tab. I then have the whole DO sequence copied four more times, once for each state. Zips.Sheet(“FL”) and so on.
What I can seem to figure out is how to make the sheet names a variable that can be used in the CurrentRow range, if that’s what needed.
Or is there another approach?
Essentially I want to iterate through all Worksheets in a workbook and perform a For Each CurrentRow function on each Worksheet.
Exactly what I needed, thank you. I have a hard time distilling the right question to ask when searching for this on my own. Very grateful for your help.
Which version of Excel.Activities package do you use?
The latest 2.11.3 includes these activities. Can you try to update, if possible?
And you might need to tune filter settings of activity panel in classic design mode as the following .