#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 471
Default Pick List

I wish to have a form that would display contents populated from an array as
follows:

Header: Description, Item#
Data: Pork Chop, 111111
Data: Frog Legs,222222
etc...
and the user could sort the data on either the Description or the Item #,
based on which "column" he is in. Does anyone know of any way to do
something like this?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Pick List

Sub SortData()
Columns("A:C").Sort key1:=Cells(1, ActiveCell.Column), _
order1:=xlAscending, _
header:=xlYes
End Sub


--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Mike H." wrote in message
...
I wish to have a form that would display contents populated from an array
as
follows:

Header: Description, Item#
Data: Pork Chop, 111111
Data: Frog Legs,222222
etc...
and the user could sort the data on either the Description or the Item #,
based on which "column" he is in. Does anyone know of any way to do
something like this?



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
Look up list of values based on single value from pick list Donal P Excel Discussion (Misc queries) 3 August 13th 07 08:43 PM
Pick List Box Lee New Users to Excel 2 October 13th 05 06:22 PM
Making pick list conditional on selection from previous pick list Stewart Excel Discussion (Misc queries) 1 June 27th 05 11:30 AM
Pick list Antonio Guillen Excel Discussion (Misc queries) 3 March 12th 05 03:24 PM
Pick List Alex M Excel Discussion (Misc queries) 1 January 11th 05 01:30 PM


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