Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Combo box sorting

Greetings. I am fairly new to Excel programming so I hope this isn't too
basic a question:

I am creating a form with a combobox. The combo box is going to be
populated with items contained within an array.

I would like for the items appearing in the combo box to be sorted into
numerical or alphabetical order. Is that a property inherent in combo boxes
or can I code the thing somehow to pre-sort the data? The only thing I
could think of offhand was to create a worksheet range with the same number
of rows as there are items in the array, drop the array items into the range
and then sort that using excel's sort feature, and then put the range data
into the combo box. That seems awfully convoluted, so I figured there must
be an easier way.

Thanks for the help.


Reply
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
Combo Box and Sorting Arkansas Lady Excel Discussion (Misc queries) 3 February 18th 09 08:41 PM
combo reference on another combo box for picking address etc. kbjin Excel Worksheet Functions 1 December 8th 06 03:29 PM
Combo Box sorting Mosquitobait Excel Worksheet Functions 1 January 17th 06 09:42 PM
"Combo Box - getting control combo box to stick in place in worksh ajr Excel Discussion (Misc queries) 1 February 16th 05 02:05 AM
"Combo Box - getting control combo box to stick in place in worksh ajr Excel Discussion (Misc queries) 0 February 15th 05 07:45 PM


All times are GMT +1. The time now is 09:36 PM.

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

About Us

"It's about Microsoft Excel"