The only thing that concerns me with this implementation passes the completed array of subnets for each IF statement. Since you add the subnet being checked right before each IF the code should work but does not sit well with me.

Maybe Sealeopard can shed some light on why the previous code did not work.
_________________________
Home page: http://www.kixhelp.com/hb/