Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
When using a ComboBox in a Userform, I'd like to have the RowSource linked
to a column on a sheet. However, in the event there are duplicate values in this column, I would like the ComboBox dropdown to only show each value one time just as the AutoFilter does. Is the ComboBox RowSource able to do this, or would I have to filter out the duplicates in another column first and then set that as the RowSource? Thanks in advance. Paul -- |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
As a matter of practice, I usually make my row source data into unique items
and sort them before linking them to a control such as combobox or listbox. It seems to make things more efficient. The RowSource property does not automatically do this function. You would have to build the filter and sort processes into your code or do it manually before initiating the macro. "PCLIVE" wrote: When using a ComboBox in a Userform, I'd like to have the RowSource linked to a column on a sheet. However, in the event there are duplicate values in this column, I would like the ComboBox dropdown to only show each value one time just as the AutoFilter does. Is the ComboBox RowSource able to do this, or would I have to filter out the duplicates in another column first and then set that as the RowSource? Thanks in advance. Paul -- |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
That's what I thought, but it never hurts to ask.
Thanks, Paul -- "JLGWhiz" wrote in message ... As a matter of practice, I usually make my row source data into unique items and sort them before linking them to a control such as combobox or listbox. It seems to make things more efficient. The RowSource property does not automatically do this function. You would have to build the filter and sort processes into your code or do it manually before initiating the macro. "PCLIVE" wrote: When using a ComboBox in a Userform, I'd like to have the RowSource linked to a column on a sheet. However, in the event there are duplicate values in this column, I would like the ComboBox dropdown to only show each value one time just as the AutoFilter does. Is the ComboBox RowSource able to do this, or would I have to filter out the duplicates in another column first and then set that as the RowSource? Thanks in advance. Paul -- |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Omitting Duplicate values using a ComboBox or Data Validation | Excel Discussion (Misc queries) | |||
UserForm ComboBox RowSource Problem | Excel Programming | |||
UserForm ComboBox RowSource Question | Excel Programming | |||
How Do I Load A ComboBox RowSource From The Results Of Another ComboBox | Excel Programming | |||
ComboBox RowSource --- can I use a userform OWC10 spreadsheet range? | Excel Programming |