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
263 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
Comment Utility
sure is

what version of utlook are you running
0
 
LVL 15

Expert Comment

by:Ess Kay
Comment Utility
0
 
LVL 15

Accepted Solution

by:
Ess Kay earned 500 total points
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
Use email signature images to promote corporate certifications and industry awards.
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now