grnzbra,
If I were you I'd just cut that code out and paste it to notepad until you have time to fix it.
Access used to be unpredictable about what it would compile--I'm not sure if this has changed. I've gotten sudden compile errors in some old, abandoned function that I hadn't touched in years. And I'm not talking about references to controls or objects that had been removed--I'm talking about spelling errors or syntax errors that had always been there, and for some reason never, ever, caused a compile error until months or even years later.
--Jim