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 36 weeks ago
6 years 22 weeks ago
6 years 34 weeks ago
6 years 37 weeks ago
6 years 38 weeks ago
6 years 43 weeks ago
6 years 52 weeks ago
7 years 2 days ago
7 years 3 days ago
7 years 3 days ago