Why not use the IsInSubnet() UDF for this?

BTW, I will post a completely rewritten IsInSubnet() UDF either tonight or tomorrow morning that will not require any dependencies and can evaluate whether an IP address is part of any or all subnets that are provided to the UDF.
_________________________
There are two types of vessels, submarines and targets.