stirlingmw1
Board Regular
- Joined
- Jun 17, 2016
- Messages
- 53
- Office Version
- 2016
- 2013
- 2010
- 2007
- Platform
- Windows
Afternoon All
I have a workbook with multiple worksheets (24) which I need to loop through checking for a certain text in row 1. If that text is found then that column is copied to another Sheet ("Results"). The text is set by items listed in the Named range "Locate" within Worksheet "Admin".
Each of the 24 worksheets have a 5 letter identifier followed by a Year span, i.e. BROC_22-23, BLYH_22-23. I have tried breaking down the Worksheet name to reference in separate parts but whatever I seem to do generates code errors.
Thanks
Steve
I have a workbook with multiple worksheets (24) which I need to loop through checking for a certain text in row 1. If that text is found then that column is copied to another Sheet ("Results"). The text is set by items listed in the Named range "Locate" within Worksheet "Admin".
Each of the 24 worksheets have a 5 letter identifier followed by a Year span, i.e. BROC_22-23, BLYH_22-23. I have tried breaking down the Worksheet name to reference in separate parts but whatever I seem to do generates code errors.
Thanks
Steve