Just FYI,
I have twice locked up a file with the illegal operation message after adding a button to a form (I think). After trying all else, I set the security settings to high and disabled all macros. I then opened the VBA project and deleted (and exported) the form I thought that might be causing the problem. I then imported the forms back, saved, closed, and reopened and all seems well.
Out of curiosity, does anyone know what specifically occurs when you export a form, other than creating a form specific file with a .frm extension? What happens to the buttons, captions, and other controls? Are these stored as numerical settings within the .frm file? I would be interested to understand the process.
Thanks,