which recommends sending the hotkeys CTRL + PgUp so I built out a workflow doing just that but for some reason it is not acting as desired I was wondering if there was a specific place that I needed to click to send the hotkeys?
However, a better way to do it would be to get all the sheet names into an array, then use the value of the first one to create a selector that clicks the first sheet’s tab.
Yes try it that way. I notice you just have the workbookName as the title, but you should put * before and after it. When I open a file in Excel the app title shows as “workbookname.xlsx - Excel” so you need * to account for the “- Excel” part. Of course, if you know that only one Excel window is open you don’t even need to specify title in the selector.
It’s really simple, works just like normal wildcards.
title="*Excel*" will match any window that has the word Excel in the title.
title="Excel*" will match any window where the word Excel is the beginning of the title.
title="*Excel" will match Excel as the end of the title.