A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Complicated Macro



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 1st 06, 05:32 PM posted to microsoft.public.outlook
[email protected]
external usenet poster
 
Posts: 1
Default Complicated Macro

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  
Old August 1st 06, 06:15 PM posted to microsoft.public.outlook
John Blessing
external usenet poster
 
Posts: 60
Default Complicated Macro

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 09:13 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.