Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default re-ordering areas

Greetings one and all and TIA for your time
I have obtained a non-contiguous range after performing the following:
isect = intersect(rng1, union(severalColumns))
myRange = isect.specialcells(xlconstants)
Now, myRange.areas are located on the worksheet in groups of 6 or more with
myRange.areas.cells(1) all on the same row within a group.
I need now to operate on each area in sequence, starting (looking at the
worksheet) from bottom group of areas, rightmost area. working left to last
area on row. Move up 1 to next row of areas. Start at right and work left...
Like reading a book in reverse.
How can I arange for the areas(indexnumbers) to be in the required sequence?
(or the reverse sequence is just as good) So that I can do:
for i = myRange.areas.count to 1 step -1
areas(i).dosomething
next

--
David
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
Ordering the chart by value Ruth Charts and Charting in Excel 0 May 27th 10 10:12 PM
ordering pytelium Excel Discussion (Misc queries) 3 March 13th 06 11:21 PM
Need help on formulating ordering Angela Excel Worksheet Functions 2 October 7th 05 08:38 PM
Ordering Patterns Tom Hewitt Excel Discussion (Misc queries) 0 September 20th 05 03:06 PM
ordering Dave B[_3_] Excel Programming 2 August 14th 04 03:52 AM


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