LOL - I was referring to DieselDoc with my classroom reference! (although I guess you might have been snoozing a bit) \:\)

Glenn

PS - DieselDoc - Something to think about...

The line number where the error triggers may NOT be the line with the error! If you have a mismatched quote or paren on an earlier line, Kix will keep reading thinking that the logic should continue until it encounters something it just can't process, and that's where the error is thrown.

As Les suggests, comment out blocks of code to isolate the issue. Using block-comments to surround a supposedly working block will sometimes comment-out mismatched items, allowing failing code to suddenly work. Then you can focus your attention inside the commented code. The idea is - reduce the things you're troubleshooting.

Also, Les' reference to "curly quotes" means "typographic" quotes, which curve in and out, as opposed to double-quotes that Kix needs, which are plain vertical. Outlook and Word often convert "normal" quotes to the curly style. Be sure by editing in Notepad and replacing the quotes with the proper quote char.
_________________________
Actually I am a Rocket Scientist! \:D