Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 03-26-2015, 10:44 PM
gmayor's Avatar
gmayor gmayor is offline Is there a way to read messages THEN auto archive them using a rule? Windows 7 64bit Is there a way to read messages THEN auto archive them using a rule? Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

I don't have Outlook 2007 available to check , but in Outlook 2010, the option Move Copy to Folder is immediately below the option to Move to Folder .

If it is not present in 2007, you will need a macro script run from a rule e.g.

Code:
Sub CopyToFolder(olItem As MailItem)
Dim oTargetFolder As Folder
Dim strFolderName As String
Dim oCopiedItem As MailItem
    strFolderName = "Copies"
    Set oTargetFolder = Session.GetDefaultFolder(olFolderInbox).folders(strFolderName)
    Set oCopiedItem = olItem.Copy
    oCopiedItem.Move oTargetFolder
lbl_Exit:
    Exit Sub
End Sub
where 'Copies' is the sub folder of Inbox that you wish to copy it to.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up a rule to move emails from inbox to Archive, or AutoArchive, etc EatVegetables Outlook 0 03-18-2014 05:21 AM
Can't archive some messages. MCPRow Outlook 0 03-01-2013 08:44 AM
Archive rule based on Category jerelp Outlook 0 02-18-2010 08:04 AM
Auto archive to the same archive doesn't work boydgrossii Outlook 0 04-14-2009 11:18 AM
Opening messages/Code/custom archive jdd2 Outlook 0 12-20-2005 08:55 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:51 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft