Hi all
I can get the following sheet array by using the macro recorder.
I need this line of code to be be more dynamic. The sheet names can change and can be added to.
I need a line to create a sheet array that includes all sheets except the sheet named "Dashboard" and sheet the named "EPN SUMMARY" or better still check if the sheet has the word "SUMMARY" in the name and exclude that from the array as I would use this in more than one workbook.
Thanks as always for your help
Partjob
I can get the following sheet array by using the macro recorder.
Code:
Sheets(Array("EPN SUMMARY", "Dashboard", "Ian Cameron", "Vladimir", "Ken Golding", _
"Andy Billings", "Stuart Weatherston", "Paul Symonds", "Peter Ball", "Ivan Key", _
"PM2", "PM3", "PM4", "PM5")).Select
I need a line to create a sheet array that includes all sheets except the sheet named "Dashboard" and sheet the named "EPN SUMMARY" or better still check if the sheet has the word "SUMMARY" in the name and exclude that from the array as I would use this in more than one workbook.
Thanks as always for your help
Partjob