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
266 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…

860 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