![]() |
Count Messages Per Conversation
My mailbox has grown to over 10K messages, and I need a way to
determine which conversations (threads) have the most entries in them. I've found I can delete a lot of messages by deleting all but the last conversation, because the last one contains the entire thread. Is there VBA code somewhere to be able to count the number of messages in each conversation and dump it somewhere - the immediate window or to a text file? Any help would be appreciated. Minntac |
Count Messages Per Conversation
Each message in a thread has the same ConversationTopic value. The first
message in the thread has a ConversationIndex that is 22 bytes long. Each subsequent member of the thread increases the length of ConversationIndex by 5 bytes (a date/time struct). So you can filter or restrict an Items collection of item in a folder based on a ConversationTopic value and then count the lengths of ConversationIndex to find the last items in the thread. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm wrote in message ... My mailbox has grown to over 10K messages, and I need a way to determine which conversations (threads) have the most entries in them. I've found I can delete a lot of messages by deleting all but the last conversation, because the last one contains the entire thread. Is there VBA code somewhere to be able to count the number of messages in each conversation and dump it somewhere - the immediate window or to a text file? Any help would be appreciated. Minntac |
All times are GMT +1. The time now is 05:04 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com