aggiemarine07
New Member
- Joined
- Nov 5, 2013
- Messages
- 46
Howdy!
I have an interesting excel question for yall. I searched google and couldnt find the answer (maybe I was phrasing it wrong), but I was wondering is it possible have a sheet un-hide when data appears in certain cell or hide it when data isnt in a certain cell?
Heres an example. I currently have a workbook with multiple tabs on it showing data for people within those groups. It is broken out as follows:
Tab1 (header sheet) - contains each group name in four different cells (cells A1,A2,A3,A4)
Tab2 (Group1) - contains a bunch of personal information about its members
Tab3 (Group2) - contains a bunch of personal information about its members
Tab4 (Group3) - contains a bunch of personal information about its members
Tab5 (Group4) - contains a bunch of personal information about its members
What I would like to do is use some sort of VBA/Macro that hides tab4 when we only have three groups or hides tabs 4 and 5 if only 2 groups. I would like to do this whenever I enter the group name in tab1 since they change every month or so. Is that possible? Thanks for all yalls help in advance!
I have an interesting excel question for yall. I searched google and couldnt find the answer (maybe I was phrasing it wrong), but I was wondering is it possible have a sheet un-hide when data appears in certain cell or hide it when data isnt in a certain cell?
Heres an example. I currently have a workbook with multiple tabs on it showing data for people within those groups. It is broken out as follows:
Tab1 (header sheet) - contains each group name in four different cells (cells A1,A2,A3,A4)
Tab2 (Group1) - contains a bunch of personal information about its members
Tab3 (Group2) - contains a bunch of personal information about its members
Tab4 (Group3) - contains a bunch of personal information about its members
Tab5 (Group4) - contains a bunch of personal information about its members
What I would like to do is use some sort of VBA/Macro that hides tab4 when we only have three groups or hides tabs 4 and 5 if only 2 groups. I would like to do this whenever I enter the group name in tab1 since they change every month or so. Is that possible? Thanks for all yalls help in advance!