Hello
I have confronted an vba compile error, while making an userform. my code is the following
qa, qn are optionbutton
month, year are combobox
the rest are all textbox
please help me.
I have confronted an vba compile error, while making an userform. my code is the following
Code:
Private Sub CommandButton1_Click()
name.Value = ""
you.Value = ""
destination.Value = ""
region.Value = ""
country.Value = ""
month.Value = ""
year.Value = ""
qa.Value = False
qn.Value = False
purpose.Value = "Remarks (optional)"
applicants.Value = ""
position.Value = ""
email.Value = ""
phone.Value = ""
fax.Value = ""
address.Value = ""
population.Value = ""
surface.Value = ""
shore.Value = ""
popuR.Value = ""
surfR.Value = ""
shoR.Value = ""
A.Value = ""
B.Value = ""
C.Value = ""
D.Value = ""
End
End Sub
month, year are combobox
the rest are all textbox
please help me.