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.