Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Excel; vba; listbox how to reorganize list in alfabetical order

John Walkenbach has a routine that fills a listbox with unique items. He has
code in his routine that sorts it, too.
http://j-walk.com/ss/excel/tips/tip47.htm

Konrad wrote:

Tks for yr help

to tell you the true the way you sugested is the easiest
but my idea was to make it faster
what I'm thinking about now is to create an array or two
of them and then use them to do that

Tks

Konrad

-----Original Message-----
If th elistbox range comes from a table, then sort the
table and refresh the listbox
if the listbox is populated from code, then drop the
values into a new table, sort it on the sheet & reload
the listbox.
I would not try to sort the list in memory - excel's soth
method works very fast and is very good - do not re-
invent the wheel ;)

Patrick Molloy
Microsoft Excel MVP


-----Original Message-----
under the excel (or any of MS office appl) I have a

listbox
the list is already fill in And I want to change

positions
of the items in order to have them in alfabetical order
list consist of words, the len can be diffrent,upper or
lower case does not metter.

Tks
konrad
.

.


--

Dave Peterson

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
copying the contents of a drop down list from the listbox itself? Digi777 Excel Discussion (Misc queries) 0 January 25th 10 10:06 PM
Item order in ListBox [email protected] Excel Discussion (Misc queries) 1 June 16th 06 01:15 PM
Reorganize Excel Options scifibum Setting up and Configuration of Excel 0 May 25th 06 05:31 PM
How do I list postcodes in order in Excel? jillysillybilly Excel Discussion (Misc queries) 10 January 8th 06 06:14 PM
Reorganize list DWeb Excel Discussion (Misc queries) 2 April 5th 05 07:53 PM


All times are GMT +1. The time now is 08:11 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"