The Write event should be called if the item has changed and the user chooses to save it. If the user first clicks to close the item, then saves the item from the upcoming dialog then the Write event fires after the Close event.
-- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Quick-Cats - Categorize Outlook data: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6
Am Wed, 18 Apr 2007 15:52:19 -0500 schrieb Dave:
[Quoted Text] > Anyone know how to do this? > > In my COM addin using outlook 2000 I have a Write and a Close event for
the > contact item and the Close event gets called, but the Write event never gets > called. Am I doing something wrong? > > Private WithEvents objContact As Outlook.ContactItem > > Private Sub objContact_Write(Cancel As Boolean) > > End Sub > > Private Sub objContact_Close(Cancel As Boolean) > > > End Sub > > Dave
|