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
268 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Title # Comments Views Activity
Excel VBA Script 9 57
Match two excel worksheets based on common columns 4 32
Simple Accounts Package 2 19
Excel - IF criterion 2 24
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

739 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