Button to permanently delete items?

P

petern

I use ctrl-Delete to permanently delete items, but I'd like to make it a
button or add it to the right-click menu so that I only have to use the
mouse.

Does anyone know how I might do this?

Peter
 
K

Ken Slovak - [MVP - Outlook]

Do you mean shift+delete?

You can't make a macro to do that unless you want to fool around with
SendKeys and use that to send that key combination. A context menu option is
possible if you are using Outlook 2007, otherwise the hacks on context menus
don't tell you what was clicked on.

In pure Outlook code you can't hard delete items. You have to delete them
then trap them in Deleted Items and delete from there. Using Extended MAPI
or CDO 1.21 or Redemption you can hard delete items but MAPI is C++ or
Delphi only, CDO is an optional installation and Redemption is a 3rd party
library.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top