BobBridges
Active Member
I'm experimenting with VBA/Outlook, and would like to try setting up an event handler for mail items. I can make events work in Excel, and I'm reading the Outlook documentation, but I can't seem to get any Outlook mailitem events fire.
Part of what puzzles me is that it says the event module is to be named xxx_Send (for example), where xxx is the mailitem to be detected. But that assumes that I'm going to name the mail item xxx, every time I use this particular event. Can that be right?
And even if it is, I don't seem to be able to make it work. I think I followed the instructions, but none of the events I've tried to do fire when I execute a Sub to trigger them. Has anyone else fooled with events for Outlook?
Part of what puzzles me is that it says the event module is to be named xxx_Send (for example), where xxx is the mailitem to be detected. But that assumes that I'm going to name the mail item xxx, every time I use this particular event. Can that be right?
And even if it is, I don't seem to be able to make it work. I think I followed the instructions, but none of the events I've tried to do fire when I execute a Sub to trigger them. Has anyone else fooled with events for Outlook?