Hi all,
I have a tab called ‘template’
I have a tab called ‘products’ with a columnar list of text strings starting in cell A2.
I would like some VBA that copies and renames the ‘template’ tab for each item in the string list starting on cell A2 on the ‘products’ tab.
For example:
If products tab cell A2 = “Apples” and products tab cell A3 = “Pears”. The VBA I need would copy the ‘template’ tab twice and rename the tabs ‘Apples’ and ‘Pears’ respectively.
I will be left with three identical tabs called ‘template’, ‘apples’ and ‘pears’ (and the originals ‘products’ tab too).
I would like this to work for any number of items in the list on the ‘products’ tab.
Thanks!
I have a tab called ‘template’
I have a tab called ‘products’ with a columnar list of text strings starting in cell A2.
I would like some VBA that copies and renames the ‘template’ tab for each item in the string list starting on cell A2 on the ‘products’ tab.
For example:
If products tab cell A2 = “Apples” and products tab cell A3 = “Pears”. The VBA I need would copy the ‘template’ tab twice and rename the tabs ‘Apples’ and ‘Pears’ respectively.
I will be left with three identical tabs called ‘template’, ‘apples’ and ‘pears’ (and the originals ‘products’ tab too).
I would like this to work for any number of items in the list on the ‘products’ tab.
Thanks!