Dec 12, 2008 #1 Holly888 Programmer Dec 3, 2008 10 CA How to tell option buton 4 is selected or not, the following code didn't work: if mydialogbox.OptionButton4.selected =true then msgbox "option button 4 selected ." end if
How to tell option buton 4 is selected or not, the following code didn't work: if mydialogbox.OptionButton4.selected =true then msgbox "option button 4 selected ." end if
Dec 15, 2008 Thread starter #2 Holly888 Programmer Dec 3, 2008 10 CA Solution found: Select case mydialogbox.optiongroup1 Case 0 msgbox "first option button" Case 1 msgbox "second option button" Case else msgbox "invalid option" End Select Upvote 0 Downvote
Solution found: Select case mydialogbox.optiongroup1 Case 0 msgbox "first option button" Case 1 msgbox "second option button" Case else msgbox "invalid option" End Select