Hi,
I am seeking for VBA code which will automatically rename the sheets name and hide the unused sheets.
I've an workbook that contains 41 sheets and it's divided into 4 groups (each group compose of 10 worksheet) and the workbook has a Main page that contain all the data which are link to the sheets. I would like to change the tab/sheet name of the 1st group of sheets based on the value of "B6" on the Main page, 2nd group on "B7", 3rd group on "B8" and 4th group on "B9". From 2nd group to 4th group if there are NO value on the cell B7 to B9 on the Main page it will hide the sheets. Thank you in advance for the help!
I am seeking for VBA code which will automatically rename the sheets name and hide the unused sheets.
I've an workbook that contains 41 sheets and it's divided into 4 groups (each group compose of 10 worksheet) and the workbook has a Main page that contain all the data which are link to the sheets. I would like to change the tab/sheet name of the 1st group of sheets based on the value of "B6" on the Main page, 2nd group on "B7", 3rd group on "B8" and 4th group on "B9". From 2nd group to 4th group if there are NO value on the cell B7 to B9 on the Main page it will hide the sheets. Thank you in advance for the help!