View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Mark Rosenkrantz[_3_] Mark Rosenkrantz[_3_] is offline
external usenet poster
 
Posts: 8
Default Sorting dates in a combobox

Bob and other;

The sourcelist is on a worksheet.

Mark.

"Bob Phillips" wrote in message
...
Mark,

You need to filter the data and sort it before it hits the combo. Where is
it a sourced from, a worksheet, a database?

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Mark Rosenkrantz" wrote in message
...
Dear all;

I have a list of dates in the format dd/mm/yyyy
These dates are not unique.
The list ( 2000 + items ) looks like :

29/06/2004
30/06/2004
29/06/2004
01/07/2004
30/06/2004
29/06/2004
01/07/2004

I want that list displayed in a combobox so I can choose from that list,

but
I only want to see the unique items.
The list must be sorted in chronological order.
It thus should look like :

29/06/2004
30/06/2004
01/07/2004

How do I do that with VBA ?

Mark.