Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Helmut, OssieMac, and Rick for your time and help - all examples
worked perfectly. -- John "Rick Rothstein (MVP - VB)" wrote: I have a one-dimensional array containing values that load a listbox. I would like to reverse the order of the values as they appear in the listbox. The array is called UniqueValues and I'm loading the listbox via the following: For Each Item In UniqueValues frmTrace.ListBox1.AddItem Item Next Item Is there a way to reverse the values without dropping the values into a worksheet, resorting, and reloading? Use the same code you have, but add the optional argument to the AddItem method... For Each Item In UniqueValues frmTrace.ListBox1.AddItem Item, 0 Next Item Rick |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Reverse a function to return the array? | Excel Worksheet Functions | |||
search an array in reverse (bottom to top) order | Excel Discussion (Misc queries) | |||
How to reverse data in an Array | Excel Programming | |||
Reverse numerical values | Excel Worksheet Functions | |||
how to reverse a range/array? | Excel Worksheet Functions |