PC Review


Reply
Thread Tools Rate Thread

ComboBox displays duplicates - please help

 
 
=?Utf-8?B?SmVmZg==?=
Guest
Posts: n/a
 
      14th Nov 2006
Please Help!
In my ComboBox property
I have a ListFillRange 'Input data'!C1 - C200

Column 'C' has duplicate names.
I can't edit or change column 'C'

How do I write code so that it will not display
duplicates when selecting the comboBox.

I think a function like this but not sure how to write it...
in Properties for the combobox.
I would set the following to pass back name in column 'C' but filter out
duplicates.

ListFillRange = NoDuplicates("C1:C200")

Thank you for your help
--
Jeff
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      14th Nov 2006
John Walkenbach shows how to use a collection to get a unique list. He also
shows how that list can be sorted (you may want to do that):
http://j-walk.com/ss/excel/tips/tip47.htm

Jeff wrote:
>
> Please Help!
> In my ComboBox property
> I have a ListFillRange 'Input data'!C1 - C200
>
> Column 'C' has duplicate names.
> I can't edit or change column 'C'
>
> How do I write code so that it will not display
> duplicates when selecting the comboBox.
>
> I think a function like this but not sure how to write it...
> in Properties for the combobox.
> I would set the following to pass back name in column 'C' but filter out
> duplicates.
>
> ListFillRange = NoDuplicates("C1:C200")
>
> Thank you for your help
> --
> Jeff


--

Dave Peterson
 
Reply With Quote
 
=?Utf-8?B?SmVmZg==?=
Guest
Posts: n/a
 
      14th Nov 2006
Thank you, it is very helpful. :-)

--
Jeff


"Dave Peterson" wrote:

> John Walkenbach shows how to use a collection to get a unique list. He also
> shows how that list can be sorted (you may want to do that):
> http://j-walk.com/ss/excel/tips/tip47.htm
>
> Jeff wrote:
> >
> > Please Help!
> > In my ComboBox property
> > I have a ListFillRange 'Input data'!C1 - C200
> >
> > Column 'C' has duplicate names.
> > I can't edit or change column 'C'
> >
> > How do I write code so that it will not display
> > duplicates when selecting the comboBox.
> >
> > I think a function like this but not sure how to write it...
> > in Properties for the combobox.
> > I would set the following to pass back name in column 'C' but filter out
> > duplicates.
> >
> > ListFillRange = NoDuplicates("C1:C200")
> >
> > Thank you for your help
> > --
> > Jeff

>
> --
>
> Dave Peterson
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting Duplicate with a Msg box which displays no of duplicates Uma Nandan Microsoft Excel Programming 7 20th Nov 2008 10:36 AM
ComboBox displays last selection PW Microsoft Excel Programming 4 25th Jul 2008 04:25 PM
Combobox displays wrong value die_laffin via AccessMonster.com Microsoft Access Form Coding 7 21st Mar 2006 08:30 AM
combobox displays [Namespace].[ClassName] Matt Microsoft VB .NET 1 3rd Feb 2006 08:04 PM
Displays duplicates of names in e-mail pick list =?Utf-8?B?U3RldmUgTS4gU3lsdmVzdA==?= Microsoft Outlook Discussion 1 30th Oct 2004 05:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:42 AM.