I am trying to set a checkbox value as true when three other checkboxes are true.
When I use an IF statement the execution skips the code even though all the conditions are met.
Private Sub CommandButton1_Click()
Dim wsA As Worksheet
Dim wbA As Workbook
With wsA
If CheckBoxes("Check Box 416").Value = True & _
CheckBoxes("Check Box 417").Value = True & _
CheckBoxes("Check Box 418").Value = True Then
CheckBoxes("Check Box 68").Value = True
Else
CheckBoxes("Check Box 68").Value = False
End If
End With
End Sub
Is there any other way I can get the above result?
&withAnd