Welcome KORG!

The InSubnet or IsInSubnet UDFs are well suited for this purpose.

If you don't want to roll your own, our Universal Login Script can control resources by AD Site, network subnet, and a dozen other methods. See the user manual here for complete info.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D