PC Review


Reply
Thread Tools Rate Thread

Deleting multiple Deleted Items folders with a single command. Pls

 
 
jammy
Guest
Posts: n/a
 
      19th Jul 2009
I have several pop accounts that I have activated in Outlook. When I exit, I
would like not only the main Deleted Items folder to be emptied, but all
other Deleted Items folders in my individual .pst files. Is there a VBA
script I can use to do this? Not good enough at VBA to write one myself, but
if someone sends me a generic skeleton, I could probably play around with it
and customize it to my accounts.

Thanks,

 
Reply With Quote
 
 
 
 
Diane Poremsky [MVP]
Guest
Posts: n/a
 
      19th Jul 2009
Rather than mess with VBA, especially if you have to rely on others to write
it for you, why not set up autoarchive to delete items from the deleted
items folders? Set it to run daily and delete items older than a day. A
benefit is that it won't delay outlook's shutdown, as the empty on exit and
a vba macro would.

See http://www.outlook-tips.net/archives/2003/20030918.htm for the basics.

--
Diane Poremsky [MVP - Outlook]
Outlook Tips: http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com

Outlook Tips by email:
mailto:dailytips-subscribe-(E-Mail Removed)

EMO - a weekly newsletter about Outlook and Exchange:
mailto:EMO-NEWSLETTER-SUBSCRIBE-(E-Mail Removed)

Let's Really Fix Outlook 2010
http://forums.slipstick.com/forumdisplay.php?f=34

"jammy" <(E-Mail Removed)> wrote in message
news:C973F1F8-74DD-4879-9D49-(E-Mail Removed)...
> I have several pop accounts that I have activated in Outlook. When I exit,
> I
> would like not only the main Deleted Items folder to be emptied, but all
> other Deleted Items folders in my individual .pst files. Is there a VBA
> script I can use to do this? Not good enough at VBA to write one myself,
> but
> if someone sends me a generic skeleton, I could probably play around with
> it
> and customize it to my accounts.
>
> Thanks,
>

 
Reply With Quote
 
jammy
Guest
Posts: n/a
 
      20th Jul 2009
Thanks! Will give it a try. When I turned archiving for the Deleted Items
folders, it forced me to set a default autoarchive period of 14 days. I went
to Tools --> Options and made the default autoarchive do nothing. I assume
that the individual archives for the Deleted Items will still be performed.

"Diane Poremsky [MVP]" wrote:

> Rather than mess with VBA, especially if you have to rely on others to write
> it for you, why not set up autoarchive to delete items from the deleted
> items folders? Set it to run daily and delete items older than a day. A
> benefit is that it won't delay outlook's shutdown, as the empty on exit and
> a vba macro would.
>
> See http://www.outlook-tips.net/archives/2003/20030918.htm for the basics.
>
> --
> Diane Poremsky [MVP - Outlook]
> Outlook Tips: http://www.outlook-tips.net/
> Outlook & Exchange Solutions Center: http://www.slipstick.com
>
> Outlook Tips by email:
> mailto:dailytips-subscribe-(E-Mail Removed)
>
> EMO - a weekly newsletter about Outlook and Exchange:
> mailto:EMO-NEWSLETTER-SUBSCRIBE-(E-Mail Removed)
>
> Let's Really Fix Outlook 2010
> http://forums.slipstick.com/forumdisplay.php?f=34
>
> "jammy" <(E-Mail Removed)> wrote in message
> news:C973F1F8-74DD-4879-9D49-(E-Mail Removed)...
> > I have several pop accounts that I have activated in Outlook. When I exit,
> > I
> > would like not only the main Deleted Items folder to be emptied, but all
> > other Deleted Items folders in my individual .pst files. Is there a VBA
> > script I can use to do this? Not good enough at VBA to write one myself,
> > but
> > if someone sends me a generic skeleton, I could probably play around with
> > it
> > and customize it to my accounts.
> >
> > Thanks,
> >

>

 
Reply With Quote
 
Diane Poremsky [MVP]
Guest
Posts: n/a
 
      20th Jul 2009
You need to set the option to run every xx days in tools, options, other,
autoarchive. Set the default to 60 months so it skips other folders and set
the properties of any folder you absolutely do not want archived to not
archive that folder.

--
Diane Poremsky [MVP - Outlook]
Outlook Tips: http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com

Outlook Tips by email:
mailto:dailytips-subscribe-(E-Mail Removed)

EMO - a weekly newsletter about Outlook and Exchange:
mailto:EMO-NEWSLETTER-SUBSCRIBE-(E-Mail Removed)

Let's Really Fix Outlook 2010
http://forums.slipstick.com/forumdisplay.php?f=34

"jammy" <(E-Mail Removed)> wrote in message
news:BE90EE43-52DB-441E-8DB7-(E-Mail Removed)...
> Thanks! Will give it a try. When I turned archiving for the Deleted Items
> folders, it forced me to set a default autoarchive period of 14 days. I
> went
> to Tools --> Options and made the default autoarchive do nothing. I assume
> that the individual archives for the Deleted Items will still be
> performed.
>
> "Diane Poremsky [MVP]" wrote:
>
>> Rather than mess with VBA, especially if you have to rely on others to
>> write
>> it for you, why not set up autoarchive to delete items from the deleted
>> items folders? Set it to run daily and delete items older than a day. A
>> benefit is that it won't delay outlook's shutdown, as the empty on exit
>> and
>> a vba macro would.
>>
>> See http://www.outlook-tips.net/archives/2003/20030918.htm for the
>> basics.
>>
>> --
>> Diane Poremsky [MVP - Outlook]
>> Outlook Tips: http://www.outlook-tips.net/
>> Outlook & Exchange Solutions Center: http://www.slipstick.com
>>
>> Outlook Tips by email:
>> mailto:dailytips-subscribe-(E-Mail Removed)
>>
>> EMO - a weekly newsletter about Outlook and Exchange:
>> mailto:EMO-NEWSLETTER-SUBSCRIBE-(E-Mail Removed)
>>
>> Let's Really Fix Outlook 2010
>> http://forums.slipstick.com/forumdisplay.php?f=34
>>
>> "jammy" <(E-Mail Removed)> wrote in message
>> news:C973F1F8-74DD-4879-9D49-(E-Mail Removed)...
>> > I have several pop accounts that I have activated in Outlook. When I
>> > exit,
>> > I
>> > would like not only the main Deleted Items folder to be emptied, but
>> > all
>> > other Deleted Items folders in my individual .pst files. Is there a VBA
>> > script I can use to do this? Not good enough at VBA to write one
>> > myself,
>> > but
>> > if someone sends me a generic skeleton, I could probably play around
>> > with
>> > it
>> > and customize it to my accounts.
>> >
>> > Thanks,
>> >

>>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Emptying multiple Deleted Items folders jammy Microsoft Outlook VBA Programming 2 20th Jul 2009 02:57 AM
Auto removal of Deleted items with multiple personal folders Paul Cartier Microsoft Outlook Discussion 2 2nd Dec 2007 11:37 AM
Deleted Items Folders Auto Deleting =?Utf-8?B?RGVsb3JlcyBFbGlhcw==?= Microsoft Outlook Discussion 2 2nd Aug 2007 02:36 PM
Prompt before deleting folders in Outlook Express Deleted Items fo =?Utf-8?B?Ui0xMjM=?= Microsoft Outlook Discussion 1 30th Nov 2005 02:19 PM
OL2K3 - Deleted Items Recovery (Multiple Folders) Jason Microsoft Outlook 0 29th Jun 2004 12:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:18 AM.