Ivan Raiminius Wrote:
Hi Nick,
it tests consecutively if target falls into any of the three ranges
If
it falls into first range it simply sets rng = range1. If it fall
into
second and third range you need to test if rng is already set, the
you
union rng with range2 (or 3), otherwise set rng=range2 (or 3).
I hope this explanation is clear enough, otherwise please let me know.
Regards,
Ivan
this clears things up, and it all works perfectly.
Thankyou very much for your hel
--
Nick TK
-----------------------------------------------------------------------
Nick TKA's Profile:
http://www.excelforum.com/member.php...fo&userid=3394
View this thread:
http://www.excelforum.com/showthread.php?threadid=53717