M
Mark J. McGinty
I'm processing contact item events by declaring a variable as such:
Public WithEvents m_ContactItems As Outlook.Items
And initializing it like this:
Set m_ContactItems =
Outlook.Application.GetNamespace("MAPI").GetDefaultFolder(olFolderContacts).Items
That all works fine, except that as I just went to add an ItemRemove
handler, I saw that, unlike ItemAdd and ItemChange, ItemRemove does not
receive an Item parameter when it's called. What gives? How do I determine
which item is being deleted?
tia,
Mark
Public WithEvents m_ContactItems As Outlook.Items
And initializing it like this:
Set m_ContactItems =
Outlook.Application.GetNamespace("MAPI").GetDefaultFolder(olFolderContacts).Items
That all works fine, except that as I just went to add an ItemRemove
handler, I saw that, unlike ItemAdd and ItemChange, ItemRemove does not
receive an Item parameter when it's called. What gives? How do I determine
which item is being deleted?
tia,
Mark