![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I want to create a "MyDumpster" subfolder under "Inbox" and have it offer the
"Empty 'MyDumpster' Folder" option in the context menu appearing when I right-click it in the Navigation pane. I do not want to write a "Delete Folder" macro and bind it to a new menu button. Instead, I want the new folder to possess something akin to an "Emptiable" property similarly to the "Deleted Items" folder. How do I do this, please? |
Ads |
#2
|
|||
|
|||
![]()
Use the Application.FolderContextMenuDisplay() event. You will need to add a
CommandBarButton object to the CommandBar passed to you in that event handler, so you will need to add a new menu entry when the event fires. Your code then will have to iterate the folder's contents and delete everything in the folder, then it will need to delete everything moved from the folder to the Deleted Items folder. There is no "emptiable" property as you seem to think. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "JoeBrind17" wrote in message ... I want to create a "MyDumpster" subfolder under "Inbox" and have it offer the "Empty 'MyDumpster' Folder" option in the context menu appearing when I right-click it in the Navigation pane. I do not want to write a "Delete Folder" macro and bind it to a new menu button. Instead, I want the new folder to possess something akin to an "Emptiable" property similarly to the "Deleted Items" folder. How do I do this, please? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to Delete Folders from Outlook 2007 "Deleted Items" Folder. | [email protected] | Outlook and VBA | 0 | December 27th 07 03:38 PM |
How to Delete Folders from Outlook 2007 "Deleted Items" Folder. | [email protected] | Add-ins for Outlook | 0 | December 27th 07 03:34 PM |
I have a "server failures" directory within "deleted items" | geoffkmorrison | Outlook - General Queries | 3 | August 31st 07 07:58 PM |
Outlook 2003 saves all drafts in "Deleted Items" -- Can it change | Tim Bresnahan | Outlook - General Queries | 0 | September 6th 06 07:19 PM |
PST views - Can I hide "Search Folders" and "Deleted Items"? | Rob | Outlook - General Queries | 1 | August 25th 06 08:41 PM |