![]() |
Outlook Macro to do a send/receive on specific group
I have multiple email accounts setup in Outlook XP and want to split them
into groups. I want to have buttons assigned for each group that will run a Macro to undertake a send/receive on that particular group only. I would be grateful for any sample code to assist. Thanks. |
Outlook Macro to do a send/receive on specific group
For that use the NameSpace.SyncObjects collection and get the desired
SyncObject, which is one of your send/receive groups, then call Start() on that SyncObject. Each SyncObject has a Name property that can be used to identify it. Where there's only one send/receive group for example, that Name would be "All Accounts" (the default send/receive group). -- 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 "Cam" wrote in message ... I have multiple email accounts setup in Outlook XP and want to split them into groups. I want to have buttons assigned for each group that will run a Macro to undertake a send/receive on that particular group only. I would be grateful for any sample code to assist. Thanks. |
All times are GMT +1. The time now is 05:06 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