Many VBA range methods work fine in the adjacent range, but have special behavior when the range has several areas, i.e. they apply to the first area of ββthe range. Cells (i) are one of them, although if they span a range with a loop in the sort For Each cell in myRange
, they will work correctly and span all cells, even if the span has multiple areas.
Intersect B1: C1, , , 2 C1. (i) .
Intersect : (B1, D1). (i) , B1.
ps: Range.Cells(), , , .
:
(B: B, C: C) - , - B, - C. (B: C), . , , . , . : .