See if the error goes away if you comment out the code that changes things
in Write. If that fixes the problem then you need to release your handles to
the Outlook objects before Write would fire. Without seeing your code I
don't know what you're doing but something in your click event handler for
your button is doing something that leads to the conflict.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"JohnV@nn" wrote in message
ups.com...
Yes, I'm changing some user properties in the Write event. But this
also happens when I save by pressing ctrl-S.