Solved

Is there a way to set a rule to work when I run it and on a folder other than inbox?

Posted on 2013-12-18
4
265 Views
Last Modified: 2013-12-18
tell me I am too compulsive, but is this possible?

I get emails in my inbox on outlook.  I delete them, they go into the deleted folder.  I don't empty the deleted folder contents so it's large.  Is there a way to have a rule that runs against the deleted folder box all the time or on my command that moves things from deleted to another folder?  That way I don't have to drag things from inbox to a certain folder all the time, I can just use the delete key.  

Or move things from the inbox AFTER they are read into certain folders based on the sender, etc.
0
Comment
  • 3
4 Comments
 
LVL 15

Expert Comment

by:Ess Kay
ID: 39727480
sure is

what version of utlook are you running
0
 
LVL 15

Expert Comment

by:Ess Kay
ID: 39727486
0
 
LVL 15

Accepted Solution

by:
Ess Kay earned 500 total points
ID: 39727496
Try this. Create a folder called _Reviewed under your inbox. Then use this macro

Sub move2folder()
On Error Resume Next

Set objOutlook = CreateObject("Outlook.Application")
Set objNamespace = objOutlook.GetNamespace("MAPI")
Set objFolderSrc = objNamespace.GetDefaultFolder(olFolderInbox)
Set objFolderDst = objFolderSrc.Folders("_Reviewed")

Set colItems = objFolderSrc.Items
Set colFilteredItems = colItems.Restrict("[UnRead] = False")

For Each objMessage In colFilteredItems
objMessage.move objFolderDst
Next

End Sub


--from http://community.spiceworks.com/topic/73708-outlook-macro-to-move-read-messages-to-a-folder
0
 

Author Comment

by:BeGentleWithMe-INeedHelp
ID: 39727585
thanks.  I want to keep it simple.  Can't do it in rules / integrated into outlook from what I've been reading.  Thanks for the script though!
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question