Hi there,
I have ~1000 workbooks that have sheets labelled 'session1', 'session2', 'session3' etc. The number of 'sessions' (sheets) is variable across workbooks, but for each workbook I want to select the sheet that has the highest session number.
I will then extract data from the last session sheet, close the workbook, open the next workbook and so on.
I'm not sure how to select the sheet that has the highest session number. Any advice would be appreciated.
I have ~1000 workbooks that have sheets labelled 'session1', 'session2', 'session3' etc. The number of 'sessions' (sheets) is variable across workbooks, but for each workbook I want to select the sheet that has the highest session number.
I will then extract data from the last session sheet, close the workbook, open the next workbook and so on.
I'm not sure how to select the sheet that has the highest session number. Any advice would be appreciated.