I've been looking for a way to add code to the send event while in MS Outlook.
http://msdn.microsoft.com/en-us/library/aa168477(office.11).aspx
is an example of how to hook an event in Excel
but I think I may have misunderstood the object model. I'm thinking I need to use MailItem_Send but when I try and test my theory with
I get nothing. Anyone have any ideas as to what I'm doing wrong?
I'm using MS Outllook 2003. And I am NOT using the Visual Studio Tools for Office.
http://msdn.microsoft.com/en-us/library/aa168477(office.11).aspx
is an example of how to hook an event in Excel
but I think I may have misunderstood the object model. I'm thinking I need to use MailItem_Send but when I try and test my theory with
Code:
private sub MailItem_Send()
debug.print "Sent!"
end sub
I get nothing. Anyone have any ideas as to what I'm doing wrong?
I'm using MS Outllook 2003. And I am NOT using the Visual Studio Tools for Office.