LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel
external usenet poster
 
Posts: 15
Default stoping duplication in drop down list

Hello
Im using a simple loop to check part od a column an add thecontents of its
cells to a dropdown list. The code is below

rowno = 9
Do Until IsEmpty(ActiveSheet.Cells(rowno, 2).Value)
Me.cmbHolding.AddItem ActiveSheet.Cells(rowno, 2).Value
rowno = rowno + 1
Loop

Problem is the items from the column can occur more than one, but I would
like to include them in the dropdown list only once. Is there a commonly
used solution for this as I imagine it is a common problem.

Thanks
Ian


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplication of items from a drop down list LTaylor Excel Discussion (Misc queries) 0 December 5th 07 04:06 PM
How to sort out a list of numbers without duplication? Eric Excel Discussion (Misc queries) 5 June 1st 07 02:37 PM
Eliminate List Duplication FX 2000 Inc Excel Discussion (Misc queries) 2 January 28th 07 08:07 PM
Drop down list - copy from different workbook - Name duplication e Heinz Guy Excel Discussion (Misc queries) 0 December 5th 06 03:19 PM
Drop-down box automation - cell duplication. Colinhp Excel Programming 0 October 16th 06 06:01 PM


All times are GMT +1. The time now is 07:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"