LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Auto sorting multiple ranges on event


I have a Worksheet to sort, that has similar data to the table below:

A B C
1 Category Number Level
2 Black 05 A
3 Black 14 A
4 Black 14 C
5 Black 16 B
6 Total 49
7 White 03 B
8 White 03 C
9 Total 6
10 Red 04 A
11 Red 04 B
12 Red 04 C
13 Red 16 B
14 Total 28


There are three sort areas in this example: Black, White & Red. I want
to sort each area using columns B as Key1 and C as Key2. Column A would
be the same value with no need to sort. The example is already sorted
correctly.

If someone just pasted this into a worksheet, but with each area out of
sequence, I’m looking for a vba script which would recognize each area,
determine the number of rows, set this as the sort area and using B & C
as Keys, sort alphabetically the area.


--
rlutes
------------------------------------------------------------------------
rlutes's Profile: http://www.excelforum.com/member.php...o&userid=24038
View this thread: http://www.excelforum.com/showthread...hreadid=379549

 
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
PIVOT TABLE - MULTIPLE RANGES (ITEMS' SORTING) FARAZ QURESHI Excel Discussion (Misc queries) 0 May 19th 08 08:25 PM
How do I auto-filter multiple ranges on one worksheet? AREV Excel Worksheet Functions 3 February 14th 05 09:50 PM
Sorting Multiple Ranges simoneaux Excel Worksheet Functions 1 February 8th 05 03:11 PM
Multiple ranges to Auto Filter Kevin B[_4_] Excel Programming 1 June 30th 04 03:08 AM
is there any event like worhsheet_change for ranges? Abhinav[_3_] Excel Programming 3 May 13th 04 12:26 PM


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