Option Explicit
Sub checkBoxSet()
Dim chk As CheckBox
Dim ws As Worksheet
Set ws = ActiveSheet
Dim i As Integer
i = 0
For Each chk In ws.CheckBoxes
If chk.Value = 1 Then i = i + 1
Next chk
If i = 6 Then
Sheet1.Rows("23:25").EntireRow.Hidden = False
End If
End Sub
Sub HideRows()
Sheet1.Rows("23:25").EntireRow.Hidden = True
End Sub