Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"keepITcool" wrote in message
... Alan, Define your variable in a normal module the module CAN have the option private module Public Dim g_uni_items as collection Public Function GetUnique(AllCells As Range, Cell As Range) as Collection Dim Brands_Unique As New Collection Dim i As Integer, j As Integer '... set GetUnique = Brands_Unique end Function Then in your form or or in somewhere where you need to build the brand list.. set g_uni_items=GetUniques(Range("a1:a100") hth -- keepITcool www.XLsupport.com | keepITcool chello nl | amsterdam Thanks for that - I will have a play! Alan. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Generate alphanumeric unique 4 digit values from 12 digit values | Excel Worksheet Functions | |||
Need to generate random values from a list | Excel Discussion (Misc queries) | |||
How do I generate a list from a range of values | Excel Worksheet Functions | |||
Populate combo box with unique values only | Excel Discussion (Misc queries) | |||
Configure Combo Box to Show Unique List Values Only? | Excel Programming |