canthony24
Board Regular
- Joined
- Mar 24, 2016
- Messages
- 70
Very new to VBA and wondering if a code can be written that if a certain cell says a particular word, to hide the tabs not associated with that cell.
For example:
Users will select either 'Cases' or 'Pounds' in Cell B2, once they do that, they can click a macro button to hide the "Source Data", "Trend" and "Pounds" worksheets, but keep the "Cases" tab open and the reverse if they select 'Pounds' in B2.
Any help would be appreciated!
For example:
Users will select either 'Cases' or 'Pounds' in Cell B2, once they do that, they can click a macro button to hide the "Source Data", "Trend" and "Pounds" worksheets, but keep the "Cases" tab open and the reverse if they select 'Pounds' in B2.
Any help would be appreciated!