Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Art Art is offline
external usenet poster
 
Posts: 587
Default List box sort

Hello all:

I have a list of colors from cell A1 to Cell A5, Blue, Green, Red, Orange,
Pink. I made a userform with a list box containing the list mentioned. I also
added two command buttons, one is Move up, and one is Move down. Now I want
the user to be able to select from the list box one color and press for E.G.
command button "Move up", and the selected color should move up one row. And
if selected "move down", the selected color should move down one row. This
way the user can sort the list the way it needs to be. Can anyone help me
with this? I need this feature badly.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default List box sort

What happens to the other four colors? Do you leave the cell without a color
once you move a specific color up or down? What if the user is color blind?
Do you also have the color name in the cell for those folks?

"art" wrote:

Hello all:

I have a list of colors from cell A1 to Cell A5, Blue, Green, Red, Orange,
Pink. I made a userform with a list box containing the list mentioned. I also
added two command buttons, one is Move up, and one is Move down. Now I want
the user to be able to select from the list box one color and press for E.G.
command button "Move up", and the selected color should move up one row. And
if selected "move down", the selected color should move down one row. This
way the user can sort the list the way it needs to be. Can anyone help me
with this? I need this feature badly.

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.programming
Art Art is offline
external usenet poster
 
Posts: 587
Default List box sort

I am not putting in actual colors, I mean only the words of the colors. If
Green is second in the list and the user wants to move it down, then green
becomes the third in the list and red second and so on.



"JLGWhiz" wrote:

What happens to the other four colors? Do you leave the cell without a color
once you move a specific color up or down? What if the user is color blind?
Do you also have the color name in the cell for those folks?

"art" wrote:

Hello all:

I have a list of colors from cell A1 to Cell A5, Blue, Green, Red, Orange,
Pink. I made a userform with a list box containing the list mentioned. I also
added two command buttons, one is Move up, and one is Move down. Now I want
the user to be able to select from the list box one color and press for E.G.
command button "Move up", and the selected color should move up one row. And
if selected "move down", the selected color should move down one row. This
way the user can sort the list the way it needs to be. Can anyone help me
with this? I need this feature badly.

Thanks.

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
I want sort a list but the sort is unlit on the home tab how do I chetrx Excel Worksheet Functions 3 November 14th 08 11:47 PM
Code to automatically sort a list, each time that a new entry isadded to the bottom of the list Mike C[_5_] Excel Programming 5 April 13th 08 04:59 PM
Excel sort by Fill Color by custom list sort Dash4Cash Excel Discussion (Misc queries) 2 July 29th 05 10:45 PM
sort list of players by team from player list on separate sheet Robert Excel Worksheet Functions 1 July 19th 05 01:57 AM
Can you sort a list based on catagory names without useing a custom list? BobbyFlanigan Excel Programming 2 July 29th 04 02:49 AM


All times are GMT +1. The time now is 06:17 AM.

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"