Forum Discussion
Invisable Rows
Question
How do I create (in)visible cells based on a value in a certain cell?
Specifications
In an Excel file I created I have a number of rows that only need to be visible when a certain question is "yes". The closed question "Yes" / "No" (In Dutch "Ja" / "Nee") is in cell B35. For this I made a Dropdown-menu where the choice is made possible. The rows that need to be visible when the answer in cell B35 is "Ja" in the Excel file are 36:44. What's the easiest way to do this?
StijnCl Try the attached file.
Note: Macros are for fixed rows and cells. If you insert/delete rows, it might fail.
8 Replies
- SergeiBaklanDiamond Contributor
VBA if you'd like to hide entire rows.
If to hide cells values in these rows you may apply conditional formatting rule applying white on white color for them (or like). However, they will be visible in formula bar if user focuses on such cell.
- StijnClCopper Contributor
Thank your for your answer SergeiBaklan !
Unfortunately I can't write a VBA-code that's why I have this question.
- bhushan_zIron ContributorI believe you will need VBA code for this.