hi, sorry for all the nooby questions

i have 5 forms, 4 radio buttons in each, there is 1 question on each form, if the correct radio button is selected it is ment to open the next form, same thing to the end, if the wrong radio button is slected then a vbokonly error msg is to appear then return back to the form
VB Code:
  1. Private Sub CommandButton1_Click()
  2. If OptionButton2.option = True Then
  3. Show UserForm2.form
  4. Else
  5. MsgBox " Wrong", vbOKOnly
  6. end

i having a bit of trouble, as im linkthing this in word, a command is in word, ment to bring thr forms up in word, like a pop up, but when in visual basic and i press play it comes up the macors are disabled, how do i turn them on or make this work, also would that code work or is it close?


thanks for all the help