Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-31-2013, 03:16 AM
5amuel 5amuel is offline Filter message according to conversation in Outlook Windows XP Filter message according to conversation in Outlook Office 2007
Novice
Filter message according to conversation in Outlook
 
Join Date: Jul 2013
Posts: 3
5amuel is on a distinguished road
Post Filter message according to conversation in Outlook

Hi,



I'm trying to write a macro in Outlook. I want the macro to look at an email in the Inbox that is part of a (filed) conversation, determine which folder the rest of the conversation is in, and then move the new item to that folder also.

I can write out what I want the macro to do, I just don't know the right Outlook syntax...

Proposed code (written out in words):

sub

Set MoveMessage as SelectedMessage

For each Message in Conversation
If Message.FolderPath = "Sent" then next Message 'Ignore messages I've sent
If Message.FolderPath = "Inbox" then next Message 'Ignore messages still in the Inbox that haven't been filed
xFolder = Message.FolderPath
Exit loop
Next

SelectedMessage.Move to xFolder

End

Any help would be greatly appreciated, thanks in advance!
Reply With Quote
  #2  
Old 08-05-2013, 11:10 PM
5amuel 5amuel is offline Filter message according to conversation in Outlook Windows XP Filter message according to conversation in Outlook Office 2007
Novice
Filter message according to conversation in Outlook
 
Join Date: Jul 2013
Posts: 3
5amuel is on a distinguished road
Default

bump

anyone out there?
Reply With Quote
Reply

Tags
conversation, macro, outlook 2007

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook Conversation History SLOW Delay rnorman3 Outlook 0 05-01-2012 04:00 AM
stepping through a conversation BobbyAre Outlook 1 04-29-2012 10:28 AM
Move conversation to folder after replying karlads Outlook 0 01-28-2012 12:52 PM
Filter message according to conversation in Outlook Can't get rid of message when I start Outlook cattal Outlook 1 10-02-2010 08:25 PM
Why doesn't my Conversation View look like as it is shown in the Help and Tutorials? nuspieds Outlook 0 07-01-2010 09:05 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:37 AM.


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