Cycle thru sheets in excel file


I developed a graph that will show and/or hide worksets in a view template. I have to pick each sheetname one by one. Then I have to make sure I select the correct view template to run it with.

Is there a way to cycle thru the excel sheetname and pair it with it’s corresponding view template with the same name.
ViewTemplateWorksets.dyn (16.8 KB)
Worksets.xlsx (11.2 KB)

Any ideas, suggestions or examples?