This would be fairly easy to re-write based on IP subnets. Do you have a well defined mapping of subnets per building?

I would be happy to write something to satisfy the need if supplied with the data.
_________________________
Home page: http://www.kixhelp.com/hb/