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 and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Macro to empty Junk-Mail folder



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 5th 08, 03:33 PM posted to microsoft.public.outlook.program_vba
andrew-k
external usenet poster
 
Posts: 3
Default Macro to empty Junk-Mail folder

I want to create a macro that will empty the Junk-Mail folder (using a
toolbar button). Can anyone show me the code for this?
--
Best,
Andrew-K
  #2  
Old September 5th 08, 04:21 PM posted to microsoft.public.outlook.program_vba
andrew-k
external usenet poster
 
Posts: 3
Default Macro to empty Junk-Mail folder

btw, I'm using Outlook 2003.
--
Best,
Andrew-K


"andrew-k" wrote:

I want to create a macro that will empty the Junk-Mail folder (using a
toolbar button). Can anyone show me the code for this?
--
Best,
Andrew-K

  #3  
Old September 5th 08, 06:33 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Macro to empty Junk-Mail folder



Why don't you just right click the folder and choose "Empty folder"?

--
Best regards
Michael Bauer - MVP Outlook

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


Am Fri, 5 Sep 2008 07:33:01 -0700 schrieb andrew-k:

I want to create a macro that will empty the Junk-Mail folder (using a
toolbar button). Can anyone show me the code for this?

  #4  
Old September 5th 08, 08:02 PM posted to microsoft.public.outlook.program_vba
andrew-k
external usenet poster
 
Posts: 3
Default Macro to empty Junk-Mail folder

Because it's awkward. Meanwhile, I've found this:
http://weblogs.asp.net/whaggard/arch...12/256661.aspx
--
Best,
Andrew-K


"Michael Bauer [MVP - Outlook]" wrote:

Why don't you just right click the folder and choose "Empty folder"?

--
Best regards
Michael Bauer - MVP Outlook

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


Am Fri, 5 Sep 2008 07:33:01 -0700 schrieb andrew-k:

I want to create a macro that will empty the Junk-Mail folder (using a
toolbar button). Can anyone show me the code for this?


 




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
empty junk e-mail folder - option not on menu jogdial Outlook - General Queries 1 March 12th 08 05:53 PM
Empty Junk E-mail folder saigontuna Outlook - General Queries 4 January 29th 08 03:34 AM
Empty "Junk E-mail" Folder on the shortcut menu GRAYED OUT TERRY Outlook - General Queries 6 October 30th 07 02:08 AM
Empty "Junk E-Mail" folder on menu bar Rick in NS Outlook - Installation 0 June 8th 07 06:16 PM
Automatically empty junk mail folder freeflytim Outlook - General Queries 3 October 19th 06 12:13 AM


All times are GMT +1. The time now is 10:39 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.