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

Delete Outlook subfolders using vba ?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 6th 09, 01:07 PM
Pjd007 Pjd007 is offline
Junior Member
 
First recorded activity at Outlookbanter: May 2009
Posts: 1
Default Delete Outlook subfolders using vba ?

Hi,

I have a secondary mailbox in Outlook 2003 which has a top level folder (ie. not the inbox) that has a subfolder containing a number of other subfolders, some these subfolders have another subfolder which I want to delete.

The folder I want to delete has the same name but is located in multiple subfolders of the top level folder so I want to be able to automate deletion of these folders as there is a large number of them.

I hope that's clear !

Can someone recommend a way to do this as it will be very time consuming to do it manually.

Thanks.
Ads
  #2  
Old May 7th 09, 08:57 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Delete Outlook subfolders using vba ?



This demonstrates how to loop recursively through your folder, maybe that
helps you get started:
http://www.vboffice.net/sample.html?...cmd=showite m

--
Best regards
Michael Bauer - MVP Outlook

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


Am Wed, 6 May 2009 13:07:08 +0100 schrieb Pjd007:

Hi,

I have a secondary mailbox in Outlook 2003 which has a top level folder
(ie. not the inbox) that has a subfolder containing a number of other
subfolders, some these subfolders have another subfolder which I want
to delete.

The folder I want to delete has the same name but is located in
multiple subfolders of the top level folder so I want to be able to
automate deletion of these folders as there is a large number of them.

I hope that's clear !

Can someone recommend a way to do this as it will be very time
consuming to do it manually.

Thanks.

 




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
Contact Subfolders in Outlook 2007 Chuck[_7_] Outlook - Using Contacts 3 March 2nd 09 04:13 PM
outlook contact subfolders should sync with WM5.0 froader Outlook - Using Contacts 4 October 13th 06 06:15 AM
Share subfolders in outlook... Raymond Outlook - General Queries 4 August 11th 06 04:12 AM
looking up outlook contacts in subfolders Nathan Outlook - Using Contacts 3 July 18th 06 08:52 PM
Limitatio on subfolders in Outlook 2003 [email protected] Outlook - General Queries 1 July 18th 06 09:46 AM


All times are GMT +1. The time now is 05:04 PM.


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.