bellej1207
New Member
- Joined
- Jul 22, 2015
- Messages
- 1
Hi,
I'm a little out of my depth for what I'm trying to achieve, I haven't been able to find an answer to my query on the usually helpful internet or this forum, hope you can help.
I've developed a Client Needs Analysis tool which populates a question bank using a series of checkboxes. Basically the user clicks checkboxes to unhide rows on another worksheet to build up a list of questions. I have that coding working nicely e.g.
Private Sub CheckBox1_Click()
If CheckBox1 = True Then
[='Print'!14:14].EntireRow.Hidden = False
Else: [='Print'!14:14].EntireRow.Hidden = True
End If
End Sub
The questions are grouped in to 10 different headings, e.g. Tax, Governance, Investments and the checkboxes all have these as the GroupName.
What I am looking for is the coding that will hide a row if the entire group of checkboxes are blank (or False). So if all the checkboxes in the Tax section (GroupName Tax or CheckBox 1, 2, 3 & 4 are unchecked then row 5 is hidden)
Thanks in advance
Anna
I'm a little out of my depth for what I'm trying to achieve, I haven't been able to find an answer to my query on the usually helpful internet or this forum, hope you can help.
I've developed a Client Needs Analysis tool which populates a question bank using a series of checkboxes. Basically the user clicks checkboxes to unhide rows on another worksheet to build up a list of questions. I have that coding working nicely e.g.
Private Sub CheckBox1_Click()
If CheckBox1 = True Then
[='Print'!14:14].EntireRow.Hidden = False
Else: [='Print'!14:14].EntireRow.Hidden = True
End If
End Sub
The questions are grouped in to 10 different headings, e.g. Tax, Governance, Investments and the checkboxes all have these as the GroupName.
What I am looking for is the coding that will hide a row if the entire group of checkboxes are blank (or False). So if all the checkboxes in the Tax section (GroupName Tax or CheckBox 1, 2, 3 & 4 are unchecked then row 5 is hidden)
Thanks in advance
Anna