VBA Dropdown propblems

sgrzzl

New Member
Joined
Aug 9, 2011
Messages
7
I am using several dropdowns on my user form to display list items from a dynamic range using the following:

Private Sub UserForm_Initialize()
ComboBox1.Rowsource = "dynamicrange"

End Sub

The list works but it will not let me select the first item on the list. This is problems something simple but I don't much about VBA.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Without being able to see your workbook or extended coding, first though is to replace the "unselectable" first item in the range with a note like: "Select one..."
Move the other items down.
 
Upvote 0
The list works but it will not let me select the first item on the list.

I don't see how changing the value that appears as the first list item (the one you can't pick but the rest of the list work), I don't see how changing that text doesn't work. It's already not selectable, anything you put in that list item is still unselectable.

My idea isn't to make the first item selectable, it's to put text in that first slot that is clearly not meant to be selected.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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