kenchristensen11
Board Regular
- Joined
- Oct 12, 2016
- Messages
- 52
I have a central tab called "Summaries". From this tab, I'd like to assign a macro to a button that separates out new worksheets based on titles starting in cell B5, with the name of the tabs matching the titles. Sometimes, the number of titles can vary but they will always begin in cell B5.
In each worksheet, I'll need to assign a standard template (let's call them "Domestic" and "Canadian" that are separate, hidden sheets in the workbook). Based on values beginning in cell F5 from the "Summaries" tab, I need the macro to either use the "Domestic" of "Canadian" template based on searching whether or not the keyword "Canada" is anywhere beginning in cell F5 from the "Summaries" tab. So, if there's "Canada" anywhere from cell F5 to the last row in the "Summaries" tab, use the "Canadian" template. If not, use the "Domestic".
Thanks for all the help in advance!!!
In each worksheet, I'll need to assign a standard template (let's call them "Domestic" and "Canadian" that are separate, hidden sheets in the workbook). Based on values beginning in cell F5 from the "Summaries" tab, I need the macro to either use the "Domestic" of "Canadian" template based on searching whether or not the keyword "Canada" is anywhere beginning in cell F5 from the "Summaries" tab. So, if there's "Canada" anywhere from cell F5 to the last row in the "Summaries" tab, use the "Canadian" template. If not, use the "Domestic".
Thanks for all the help in advance!!!