View Single Post
Old 05-23-2013, 08:06 AM   #12
Newly Registered User
Join Date: May 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Painteagle is on a distinguished road
Re: compile error: expected: expression

I am getting the same Error message.
I am just attempting to have a function that checks a group of checkboxes when a commandButton is clicked.
The code is as follows:

Private Sub CommandButton1_Click()
CheckBox1.Value = True
CheckBox2.Value = True
CheckBox3.Value = True
CheckBox4.Value = True
CheckBox5.Value = True
CheckBox6.Value = True
End Sub
Painteagle is offline   Reply With Quote