I host an RDP server here where Jooel was/is developing Kix.Net along with a few others. He still has access to the server and the KGen development tool is available on the server. KGen would make quick work of identifying any mismatched pair of objects (quotes, parens, and paired functions like If/EndIf).
You can download KGen from my web site.
Glenn
_________________________
Actually I
am a Rocket Scientist!