Programmely written code don't work
Works for me in OfficeXP.
Are you trying to get the msgbox within the VBA window, or are you actually
bringing up the Userform in Excel and clicking the optionbutton there? Do
you have macros enabled?
Keith
"Flemming Dahl" wrote in message
...
Hi,
On a userform certain actions course extra controls AND extra event-code
for
thise controls - however the code looks right........... it will not
work......
A OptionButton is created "OptionButton1" and this code is made one the
userform's code module:
Private Sub OptionButton1_Click()
MsgBox "YES"
End Sub
What do i do to make the new code work ?
Thanks,
Flemming
|