Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a simple userform with a combox and two option buttons. I would
like to populate the combobox with a range if optionbutton1 is clicked and with another range if ob2 is clicked. I keep getting a "Run time error 13, type mismatch" message. My code is below. Private Sub OptionButton1_Click() UserForm1.ComboBox1.RowSource = Range("a1:a10") End Sub Can anyone tell me what is wrong with this? Looks legit to me. Thanks for any help, Greg |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
option button and userform question | Excel Programming | |||
Populate A Userform ComboBox | Excel Programming | |||
Using Option Button to populate formula | Excel Discussion (Misc queries) | |||
Userform ComboBox populate using code? | Excel Programming | |||
Combobox populating based on Option Button | Excel Programming |