• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

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

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.
  • 3
1 Solution
Ess KayEntrapenuerCommented:
sure is

what version of utlook are you running
Ess KayEntrapenuerCommented:
Ess KayEntrapenuerCommented:
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

End Sub

--from http://community.spiceworks.com/topic/73708-outlook-macro-to-move-read-messages-to-a-folder
BeGentleWithMe-INeedHelpAuthor Commented:
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!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now