Hide/Unhide specific cells using data validation list
Dear Excel experts,
Query: I need to set up a VBA that whenever I select data from C1 - validation list 'All, Jan, Feb, March & Apr' to show only specific rows as follows:
1) "All" to show cells range A6:G20
2) "Jan" to show cells range A6:G9 and hide A10:G20
3) "Feb" to show cells range A10:G13 and hide A6:G9 & A14:G17
4) "March" to show A14:G17 and hide A6:G13 and A18:G20
5) "Apr" to show A18:G20 and hide A6:G17
Thank you for your help!
Attachment | Size |
---|---|
Excel Practice_VBA.xlsm | 14.62 KB |
Recent comments
5 years 41 weeks ago
6 years 27 weeks ago
6 years 39 weeks ago
6 years 42 weeks ago
6 years 43 weeks ago
6 years 48 weeks ago
7 years 4 weeks ago
7 years 5 weeks ago
7 years 5 weeks ago
7 years 5 weeks ago