Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a range set to a group of cells (say A1:E5) -call it rngSquare. I've
iterated through this and picked out say 15 non-contiguous cells to create another range - call it rngWork. Now let's throw in ranges for each row of the square - rngRow1 - rngRow5. I know I can intersect and union these ranges (such as: every cell in rngRow1 that is also in rngWork) to narrow down a search-and-select mission. But say I want to search every cell in rngWork **except** rngRow1. Do I have to loop through all the ranges like: Union(Intersect(rngWork, rngRow2), Intersect(rngWork, rngRow3), etc . . . or is there an easier way to do something like: Intersect(rngWork, Not rngRow1)??? Ed |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need to exclude certain cells in a range | Excel Worksheet Functions | |||
Exclude Header from Range? | Excel Discussion (Misc queries) | |||
How to use macros to copy a range of cells which can exclude some cells which I didn't want to be copied? | Excel Worksheet Functions | |||
Exclude one range from another | Excel Programming | |||
Exclude blank cells from a range? | Excel Programming |