Z
zofficedepot
Perhaps this is a Bob Phillips specialty. My testing has indicated
that this returns one, zero, or negative one:
1 All in range have condition(s).
0 None in range have condition(s).
-1 Some but not all in range have condition(s).
Is that reliable? I'm aiming to check .UsedRange if any exist.
There are tons of web examples with "FormatConditions.Count > 0" but
they better be referring to a single cell! It seems nobody uses it
with multiple cells.
that this returns one, zero, or negative one:
1 All in range have condition(s).
0 None in range have condition(s).
-1 Some but not all in range have condition(s).
Is that reliable? I'm aiming to check .UsedRange if any exist.
There are tons of web examples with "FormatConditions.Count > 0" but
they better be referring to a single cell! It seems nobody uses it
with multiple cells.