|
-
Nov 30th, 2005, 02:09 AM
#1
Thread Starter
Junior Member
radio buttons
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:
Private Sub CommandButton1_Click()
If OptionButton2.option = True Then
Show UserForm2.form
Else
MsgBox " Wrong", vbOKOnly
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|