Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I got two ranges/areas like:
rng1 = A1, A2:A4, A10:A100, A102 rng2 = A2:A3,A15;A102:A200 I need to get the ranges who differ: Diff1 - the range content in rng1 "minus" rng2 A1, A4, A10:A14, A16:A100 Diff2 - the range content in rng2 "minus" rng1 A103:A200 - rng1, rng2, Diff1, Diff2 could also all be "nothing" - the ranges come from a set rng1 = Columns("A:A").SpecialCells(xlCellTypeFormulas, xlNumbers/xlLogical) where the cell's contents are a formula with either a boolean "false" or value 1 as result. I have tried with intersect method, i have made for...next loops etc. but can't make it work. Can anybody give me a solution of this? I'll be forever grateful! kind regards Tskogstrom |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Countif & ranges consisting of multiple areas | Excel Worksheet Functions | |||
Countif & ranges consisting of multiple areas | Excel Worksheet Functions | |||
Countif & ranges consisting of multiple areas | Excel Worksheet Functions | |||
Multiple areas in named ranges | Excel Programming | |||
Variable Ranges for Print Areas | Excel Programming |