I need my filter not to be based on the worksheet name but on its index. in this case Sheet1 would have the index “1” for me to put sheetname.
I need this because the same filter is performed on several excel files but the name of the worksheet changes