Userform Combobox

benntw

Board Regular
Joined
Feb 17, 2014
Messages
226
Office Version
  1. 365
Platform
  1. Windows
I haven't built a userform in a long time. I have an old file that I have multiple comboboxes on and all of them I used the RowSource to populate them. I have a named range on a sheet to populate the combobox and it will not allow me to type the name into the RowSource. Has something changed in excel recently to cause this ?
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
I haven't built a userform in a long time. I have an old file that I have multiple comboboxes on and all of them I used the RowSource to populate them. I have a named range on a sheet to populate the combobox and it will not allow me to type the name into the RowSource. Has something changed in excel recently to cause this ?
How old is your file?
At least since 2003 there has been no change to adding a named range in the RowSource property of a combobox.

But you must put a correct name to the named range.

You can put your example of combo and named range here to review
 
Upvote 0
I am using the newest excel. My named range is called Crafts. When I type in Crafts into the RowSource for combobox1 the error pops up " Could not set the RowSource property. Invalid property value." I have never had this error come up when I would type in the named range
 
Upvote 0
When I type in Crafts into the RowSource for combobox1 the error pops up " Could not set the RowSource property. Invalid property value."
Are you doing it directly in the combo property or during the userform execution in the activate event or the initialize event?

I insist, you already checked that you have the named range: "Crafts"
 
Upvote 0
I am typing the named range in RowSource under Combobox1 properties. For right now I had to put my list under add items under Userform_Initialize for now since I cannot use the RowSource
 
Upvote 0
You could show images, for example: Here is the name manager, I can see the range named: Crafts

1737129844451.png

In the rowsource property of the listbox I can put "Craft"

1737129966207.png

If you don't give your examples, we are simply blind :cool:
 
Upvote 0
Now I see what it didn't like. It did not like that I had this formula for the named range . =OFFSET(LookUps!$B$1,1,0,COUNTA(LookUps!$B:$B)-1,1). I selected the range and now it works. Thank you
 
Upvote 0

Forum statistics

Threads
1,225,750
Messages
6,186,808
Members
453,373
Latest member
Ereha

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top