get count of all emails with same conversation ID

Status
Not open for further replies.

Iqbal Khan

New Member
Outlook version
Outlook 2013 64 bit
Email Account
POP3
I am trying to move emails with same conversation id to a folder.

Right now I am using loop to search all the emails to look for conversation ID and move the email However the Inbox has more than 4000 emails in it hence it is taking time as I am trying to move the emails in Inbox in the Item_send event.

Is there a faster way to get the count of emails with similar conversation id so that I can break the once all the emails are found.

thank you.
 

Iqbal Khan

New Member
Outlook version
Outlook 2013 64 bit
Email Account
POP3
Thank You, Diane

I used restrict to limit the results to the given conversation id and was able to do it as below.

Code:
Set sitems = Ns.GetDefaultFolder(olFolderInbox).Items.Restrict("[ConversationTopic]='" & UMail.ConversationTopic & "'")
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
P Is it possible to sort emails by COUNT of "From" field? Using Outlook 2
T outlook 2010 mail item count doesnt match display Outlook VBA and Custom Forms 3
Diane Poremsky Change Item Count on All Folders in a Data File New Slipstick.com Articles 0
C Unread email count not displaying on Inbox sub-folders Using Outlook 0
L A realtime Outlook user inbox count Using Outlook 5
M Nested distribution lists: how to count UNIQUE # of people... Outlook VBA and Custom Forms 13
M using Folders.Count in Excel Vba Outlook VBA and Custom Forms 8
R VBA to count email Subject names Using Outlook 1
E Strange Send/Receive count Using Outlook 3
B Day count in rules gets changed in Office for Mac 2011 Using Outlook 1
C Message Count not updating Using Outlook 2
A Comprehensive count of items in a PST Using Outlook 2
D Outlook 2010 - Advanced Find - No Status Bar = No Item Count Using Outlook 2
J Email Count Using Outlook 0
G Anyone had problems using OLF.Items.Count with Outlook 2010? Using Outlook 1
J Any way to turn off message count in Deleted Items folder (Outlook 2010)? Using Outlook 1
S Message count beside Outlook '03 folders Using Outlook 2
F Inbox Count with Filter Using Outlook 1
G recurring meeting exceptions count not updated Outlook VBA and Custom Forms 3
S Count of Contacts In Current View BCM (Business Contact Manager) 1
J Outlook 2007 items.count incorrect Outlook VBA and Custom Forms 2
H daily email count in Outlook Using Outlook 3
C Multiple emails Using Outlook 0
Phillip Bit.ly emails Using Outlook 1
E Work uses live accounts for emails for all employees. Can we use the outlook calendar to give the employees an universal work schedule calendar? Using Outlook 1
G Alerting on missed emails in conversation Outlook VBA and Custom Forms 1
C Macro to extract sender name & subject line of incoming emails to single txt file Outlook VBA and Custom Forms 3
M Sync 'On my computer' emails Using Outlook 1
A Apply Selected Emails to outlook rules and Run Rules Using Outlook 5
A Run-time error '430' on certain emails when trying to set "Outlook.mailitem" as "ActiveExplorer.Selection.Item" Outlook VBA and Custom Forms 2
J Moved many emails to Outlook external folder, need to delete on Gmail server Using Outlook 14
P Move emails between 2 mailboxes. Using Outlook 0
R Assign Categories "Round Robin" style but in a shared mailbox but on specific emails only Outlook VBA and Custom Forms 8
P Outlook for Mac - emails are not sent out beginning last week Using Outlook 1
M Missing emails in Inbox, but are present in webmail Using Outlook 0
A How To Get Body of All Emails to view in Blue Using Outlook 1
A How to get body of all emails in outlook 2016 to view in blue color Using Outlook 1
N Extract Outlook emails to excel Outlook VBA and Custom Forms 2
M Group of emails Using Outlook 1
I Saving attachments from multiple emails and updating file name Outlook VBA and Custom Forms 0
R List folders in a combo box + select folder + move emails from inbox to that folder + reply to that email Outlook VBA and Custom Forms 1
D Assign categories to outgoing emails Outlook VBA and Custom Forms 0
J Outlook 2016 Moving IMAP emails to Exchange Using Outlook 1
P Flagging emails in conversations Using Outlook 2
V Outlook 2016 will not move emails in search results Using Outlook 4
D Outlook 2016 Deleting emails without affecting folder structure - Outlook Office 365 Using Outlook 3
M Filter Conversations - Filter Out Single Emails Outlook VBA and Custom Forms 3
F not receiving emails until i re-login Using Outlook 2
K No emails in inbox Using Outlook.com accounts in Outlook 1
A Record opened emails for reopening later Outlook VBA and Custom Forms 16

Similar threads

Top