View Single Post
  #4  
Old April 17th 08, 02:07 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Prevent Outlook 2007 from closing

No, I meant Outlook 2007. In that version there's a new event that's perfect
for what you want. The new Folder.BeforeItemMove event. The VBA signature is
BeforeItemMove(Item As Object, MoveTo As Folder, Cancel As Boolean). The
item is the object being moved/deleted, MoveTo is a Folder object if moving
the item or null (Nothing) if deleting the item, and setting Cancel = true
will cancel the operation before it occurs.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Ivica Muruzovic" wrote in message
...
You write: "There is nothing else equivalent unless you are using
Outlook 2007."

I'm using Outlook 2007.
Did you mean Outlook 2003?


Ads