A MailItem fires the ReplyAll event when you hit the button. In order to receive that event, you need to set a variable declared WithEvents to the item. That requires some work: Track the NewInspector event for opening items, and track the SelectionChange event in order to set the variable to the item whcih is currently selected in a folder. Easier would be a prompt in the ItemSend event that asks you whether or not to remove the address bevore sending. In order to remove a certain address, remove it from the Recipients collection.
Best regards Michael Bauer - MVP Outlook Manage and share your categories: <http://www.vboffice.net/product.html?pub=6&lang=en>
Am Wed, 13 Jan 2010 21:17:00 -0800 (PST) schrieb tyralia:
> Hello, > > What I'm after, is for a way to remove certain address from the "To" > field whenever I hit reply-all to any message. > > Any ideas would be appreciated. > > Thanks!
14 Jan 2010Modifying value of To field on new mail.tyralia
14 Jan 2010\ Re: Modifying value of To field on new mail.Michael Bauer [MVP - ...
14 Jan 2010   \ Re: Modifying value of To field on new mail.tyralia
14 Jan 2010      \ Re: Modifying value of To field on new mail.tyralia
Contact Us
All times are in (US) Eastern Daylight Time (GMT -4:00)