JimmyEdwards
Technical User
Hi all,
I am trying to find a way to select multiple sheets within a workbook as part of a macro. The sheet names and the number of sheets are variable.
I can do it like this:-
Sheets(Array("Sheet3", "Sheet2", "Sheet1")).Select
except that the sheets could have different names each time I use the macro.
Any help would be greatly appreciated.
James.
I am trying to find a way to select multiple sheets within a workbook as part of a macro. The sheet names and the number of sheets are variable.
I can do it like this:-
Sheets(Array("Sheet3", "Sheet2", "Sheet1")).Select
except that the sheets could have different names each time I use the macro.
Any help would be greatly appreciated.
James.