
Triggering Outlook's 'Send/Receive' command
Ads another line
set Application = CreateObject("Outlook.Application")
the code assumes that Outlook is running at the time and has at least one
Explorer open.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
Quote:
> This works perfectly, thanks.
> Now for a very naive question--can I make this macro
> executable from a command prompt?
> Thanks.
> Michael
> >-----Original Message-----
> >Set Btn =
> Application.ActiveExplorer.CommandBars.FindControl(1, 5488)
> >Btn.Execute
> >Dmitry Streblechenko (MVP)
> >http://www.dimastr.com/
> >OutlookSpy - Outlook, CDO
> >and MAPI Developer Tool
> >> Is there a way to trigger Outlook's 'Send/Receive'
> command
> >> via a macro?
> >> Thanks.
> >> Michael
> >.