I am using the modern excel activities and would like to use the Rename Sheet activity. However, I do not know the sheet will be named after the download of the Excel file, so I would like to reference it as the first sheet (sheet 0) and then change the name that way.
In modern activities there is an activity called For each excel sheet activity which iterates the sheets in the excel.
Inside the For each excel sheet activity you can get the name of the column.
Check the below workflow image for better understanding.