You were very close, your challenge is simply that you used &
rather than the VBA And
operator.
For example, your first sub should look as follows:
Private Sub CommandButton1_Click()
If CheckBox1.Value = True And CheckBox2.Value = True Then
CommandButton1.Enabled = True
Call GoGoGo
ElseIf CheckBox1.Value = True And CheckBox2.Value = False Then
MsgBox ("Run Characteristics Version 1.2.xlsm")
ElseIf CheckBox1.Value = False And CheckBox2.Value = True Then
MsgBox ("Log in")
Else
MsgBox ("Log in and Run Characteristics Version 1.2.xlsm")
End If
End Sub
Note that all I did was replace your &
with the word And
.
Hope that gives you what you need!!