Delete an e-mail using VBA rather than rule?

  • Thread starter Thread starter Adam S.
  • Start date Start date
A

Adam S.

Is it possible to delete an e-mail using a VBA rather a than a rule?
What would be the shortest vba script to this and move to the next
e-mail?

TIA.
 
This deletes the first selected item, it throws an error if nothing's
selected:

Application.ActiveExplorer.Selection(1).Delete

You can't highlight an item by code.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>


Am Thu, 29 Jan 2009 13:37:49 -0800 schrieb Adam S.:
 
Back
Top