![]() |
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 need a macro that will permanently delete all e-mails that contain
certain e-mail addresses. This includes sent items, deleted items, inbox items, etc.. I was thinking a button I click at the end of the day OR for it to check whenever an action was taken (this seemed processor intensive). For example: ListOfEmails = ", ", "} OnButton1.Click call ClearAllCommunication(ListOfEmails) Sub ClearAllCommunication(ByVal ListOfEmails() as string) '/ The hard part goes here. End Sub Thanks, J |
#2
|
|||
|
|||
![]()
wrote in message
ups.com... I need a macro that will permanently delete all e-mails that contain certain e-mail addresses. This includes sent items, deleted items, inbox items, etc.. I was thinking a button I click at the end of the day OR for it to check whenever an action was taken (this seemed processor intensive). For example: ListOfEmails = ", ", "} OnButton1.Click call ClearAllCommunication(ListOfEmails) Sub ClearAllCommunication(ByVal ListOfEmails() as string) '/ The hard part goes here. End Sub Thanks, J Why not customize a view filtered on the list of email addresses - using the Advanced section of the filter dialog, and yes, you can do this against all folders. Then all you have to do is highlight all, shift+delete -- John Blessing http://www.LbeHelpdesk.com - Help Desk software priced to suit all businesses http://www.room-booking-software.com - Schedule rooms & equipment bookings for your meeting/class over the web. http://www.lbetoolbox.com - Remove Duplicates from MS Outlook, find/replace, send newsletters |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tacking Macro | Bob_BLC | Outlook and VBA | 8 | December 5th 07 07:00 AM |
macro security | Charlie | Outlook and VBA | 2 | August 10th 06 01:46 AM |
Macro | PE | Outlook - General Queries | 2 | June 25th 06 10:34 PM |
Error Macro? | belto | Outlook - General Queries | 1 | April 4th 06 06:23 PM |
Distributing a Macro | sweens319 | Outlook and VBA | 2 | January 10th 06 07:48 PM |