+ Reply to Thread
Results 1 to 3 of 3

Filter message according to conversation in Outlook

  1. #1
    Registered User
    Join Date
    07-14-2013
    Location
    Hong Kong
    MS-Off Ver
    Excel 2007
    Posts
    4

    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!

  2. #2
    Registered User
    Join Date
    07-14-2013
    Location
    Hong Kong
    MS-Off Ver
    Excel 2007
    Posts
    4

    Question Re: Filter message according to conversation in Outlook

    bump

    Any ideas??

  3. #3
    Registered User
    Join Date
    07-14-2013
    Location
    Hong Kong
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Filter message according to conversation in Outlook

    any ideas?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Extracting mail message(outlook) table in the message body
    By andywsw in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2012, 10:14 PM
  2. Opening a new outlook message via VBA
    By ea2004 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-30-2009, 10:42 AM
  3. [SOLVED] Can you text message from Outlook?
    By Ridea9n in forum Excel General
    Replies: 1
    Last Post: 05-15-2006, 03:55 PM
  4. [SOLVED] Formula for area conversation
    By Akhilesh Dalia in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-23-2006, 08:10 AM
  5. Replies: 0
    Last Post: 12-22-2005, 03:35 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1