Take a look at the SyncObject.Start method.

Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> Hi,
>
[quoted text clipped - 7 lines]
>
> Mike
Mike - 28 Jul 2004 14:33 GMT
I have got the send/receive process working now. The problem I have
is that I need to wait for the send/receive process has completed
before continuing with the rest of the macro. At the moment my call
to close the application occurs before the send/receive procedure has
completed. Is there a way to wait or loop until the send/receive has
completed?
> Take a look at the SyncObject.Start method.
>
[quoted text clipped - 9 lines]
> >
> > Mike
Sue Mosher [MVP-Outlook] - 28 Jul 2004 14:59 GMT
That's the purpose of the SyncObject.SyncEnd event.

Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> I have got the send/receive process working now. The problem I have
> is that I need to wait for the send/receive process has completed
[quoted text clipped - 16 lines]
> > >
> > > Mike