Hi Josh,
Thanks again. Looks like I was going down a different path. I did manage to locate a specific facitility id based on the gateway, which I was very happy with.
Here's the whole function now:
FindGateway()
Function FindGateway()
Dim strFacid, strUnit, strLocation, strStreet...