Can you automatically delete sent items on microsoft outlook?
Monday, September 28th, 2009 at
4:20 am
I want my sent items folder in Microsoft Outlook 2007 to delete the messages every 7days or so. Is that possible? If so how?
Related posts:
- How do you save folders from Microsoft Outlook on to your computer, or on to a USB? I have around 700 messages in a folder, from my...
- I want to get rid of Microsoft Outlook 2007 and restore my emails back to my school webmail. How do I do that? I want to delete Microsoft Outlook 2007. I tried using...
- How do I transfer my email settings and messages for Microsoft Outlook? Everytime I reformat my hard drive and reinstall Microsoft Office,...
- In Microsoft Outlook, how do I start using the data file I already have? I used to save my emails in a different folder...
- How to request a password in Microsoft Outlook? Hey, I share the Microsoft Outlook program with my family...
Filed under: Microsoft
Like this post? Subscribe to my RSS feed and get loads more!
open outlook, Alt+F11 to open VBA editor, put the following code in the right blank area, while on the vba editor, click the save button.
Private Sub Application_Startup()
Set sentm = Application.GetNamespace( "MAPI").GetDefaultFolder( olFolderSentMail)
For Each si In sentm.Items
If Now – si.SentOn > 7 Then si.Delete
Next
End Sub
Then next time when outlook is open, in the sent folder, any email sent that is older than 7 days, will be moved to the delete folder.
Please contact for more info.