This is just a example of what I'm trying,I have a userform on my worksheet and two checkboxes. One of the checkbox has to be checked to run another function on the sheet,I can't get the commandbutton in the userform to see the checkboxes.I put a commandbutton on the sheet and it works perfect,not sure why userform does not work, Iposted a exampl workbook to see my problem. Here is my code
Private Sub CommandButton1_Click()
If Not (CheckBox1 Or CheckBox2) Then
MsgBox "You must check the Rough or Finish checkbox "
End If
End Sub
Bookmarks