PC Review


Reply
Thread Tools Rate Thread

Arrange columns

 
 
craig.lyon@gmail.com
Guest
Posts: n/a
 
      13th Jun 2007
Hi all

I currently have a spreadsheet with several hundred rows and nine
columns, two of the columns are numnerical values and what I am
looking to achieve is to have a drop down box on my sheet which will
allow me to sort the data by the two numerical columns (highest value
will be the first entry). When I simply click on the header of each
column it does re-arrange the data however it does not rearrange the
entire row, simply the column,

If the above isn't clear then please do not hesitate to contact me.

TIA

Craig

 
Reply With Quote
 
 
 
 
Peter
Guest
Posts: n/a
 
      13th Jun 2007
On 13 Jun, 15:42, craig.l...@gmail.com wrote:
> Hi all
>
> I currently have a spreadsheet with several hundred rows and nine
> columns, two of the columns are numnerical values and what I am
> looking to achieve is to have a drop down box on my sheet which will
> allow me to sort the data by the two numerical columns (highest value
> will be the first entry). When I simply click on the header of each
> column it does re-arrange the data however it does not rearrange the
> entire row, simply the column,
>
> If the above isn't clear then please do not hesitate to contact me.
>
> TIA
>
> Craig


Try this:
Selection.Sort Key1:=Range("B1"), Order1:=xlDescending,
Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom,
_
DataOption1:=xlSortNormal

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
arrange columns in a table Jay Microsoft Word Document Management 3 27th Apr 2008 01:25 AM
Subform: how do I arrange columns in columns, not rows? Rachel Garrett Microsoft Access Database Table Design 1 19th Apr 2008 02:35 PM
Arrange data spanning 8 columns and 3 rows to 24 columns and 1 row =?Utf-8?B?cGZkaW5v?= Microsoft Excel Misc 2 19th Mar 2007 09:03 PM
Gridview columns re-arrange PraVeeN Microsoft ASP .NET 0 8th Dec 2006 01:47 PM
Arrange columns by day, not week Marshall D Abrams Microsoft Outlook 1 29th Jan 2006 04:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:27 PM.