Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have four option boxes on a spreadsheet.The following code works fine but
I'd like to have it working in select case, but I don't know how to do it, any offers? Private Sub options() If opt1.Value = True Then MsgBox ("You chose A") ElseIf opt2.Value = True Then MsgBox ("You chose B") ElseIf opt3.Value = True Then MsgBox ("You chose C") ElseIf opt4.Value = True Then MsgBox ("You chose D") Else: MsgBox ("You didn't choose any") End If End Sub Sandy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Select case | Excel Discussion (Misc queries) | |||
Case without Select Case error problem | Excel Discussion (Misc queries) | |||
Case Select | Excel Programming | |||
Need help on Select Case | Excel Worksheet Functions | |||
select case help please | Excel Programming |