Hello,
I have a very large workbook of sheets that contain macros that causes it to run very slow at times. However, only certain sheets need to be used at a time. I am wondering if I can make a button that when selected hides certain sheets and also comment blocks the code in those sheets so my workbook can run faster.
Example:
Home Tab(Sheet1)
Group1(Sheets 2-5)
Group2((Sheets6-10)
I want the "Home Tab" to contain 2 buttons "Group1" and "Group2".
If "Group1" is selected then Sheets6-10 are hidden and there code is comment blocked.
If "Group2" is selected then Sheets2-5 are hidden and there code is comment blocked.
Is this possible to do? If so would it actually make my documents run faster?
Thank you.
I have a very large workbook of sheets that contain macros that causes it to run very slow at times. However, only certain sheets need to be used at a time. I am wondering if I can make a button that when selected hides certain sheets and also comment blocks the code in those sheets so my workbook can run faster.
Example:
Home Tab(Sheet1)
Group1(Sheets 2-5)
Group2((Sheets6-10)
I want the "Home Tab" to contain 2 buttons "Group1" and "Group2".
If "Group1" is selected then Sheets6-10 are hidden and there code is comment blocked.
If "Group2" is selected then Sheets2-5 are hidden and there code is comment blocked.
Is this possible to do? If so would it actually make my documents run faster?
Thank you.