+ Reply to Thread
Results 1 to 3 of 3

Copying Categories from Conversation to E-Mails

  1. #1
    Registered User
    Join Date
    08-13-2014
    Location
    Vicenza, Italy
    MS-Off Ver
    2010
    Posts
    2

    Copying Categories from Conversation to E-Mails

    Hi,
    I've created a searchfolder named "WithoutCategories" in Outlook with a filter to collect all my e-mails (sent and received) without categories. The folder works.
    With the routine below, for each e-mail I'd like to get the conversation this e-mail is part of, copy the categories from the conversation and paste them to the e-mail.
    I don't know why, but with some e-mail contained in the folder the routine copies and paste the categories, with some others it doesn't (even if the e-mail is part of a conversation). And no error message is given.
    Can you help?

    Please Login or Register  to view this content.
    Last edited by bdavjd; 08-13-2014 at 08:58 AM.

  2. #2
    Registered User
    Join Date
    08-13-2014
    Location
    Vicenza, Italy
    MS-Off Ver
    2010
    Posts
    2

    Re: Copying Categories from Conversation to E-Mails

    Ok, thanks. I just changed, I hope it's fine now.
    Regards

  3. #3
    Forum Contributor
    Join Date
    08-27-2006
    Posts
    136

    Re: Copying Categories from Conversation to E-Mails

    For Each is not implemented correctly in VBA. Likely once you add a category the number of items in Myfolder changes. The first item is gone and number two moves up to number one. For Each does not realize this and moves to the new number two, skipping the new number one.

    Either process item one until nothing is left in Myfolder, or process backwards.

    Please Login or Register  to view this content.
    To mark "Solved" go to Thread Tools.

+ 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. Filter message according to conversation in Outlook
    By shum2934 in forum Outlook Programming / VBA / Macros
    Replies: 2
    Last Post: 08-06-2013, 02:12 AM
  2. Replies: 1
    Last Post: 05-15-2013, 06:55 AM
  3. Replies: 0
    Last Post: 07-22-2011, 03:51 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