Triggering Outlook's 'Send/Receive' command 
Author Message
 Triggering Outlook's 'Send/Receive' command

Is there a way to trigger Outlook's 'Send/Receive' command
via a macro?

Thanks.

Michael



Tue, 05 Apr 2005 03:12:36 GMT  
 Triggering Outlook's 'Send/Receive' command
Set Btn = Application.ActiveExplorer.CommandBars.FindControl(1, 5488)

Btn.Execute

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool


Quote:
> Is there a way to trigger Outlook's 'Send/Receive' command
> via a macro?

> Thanks.

> Michael



Tue, 05 Apr 2005 04:14:04 GMT  
 Triggering Outlook's 'Send/Receive' command
This works perfectly, thanks.

Now for a very naive question--can I make this macro
executable from a command prompt?

Thanks.

Michael

Quote:
>-----Original Message-----
>Set Btn =

Application.ActiveExplorer.CommandBars.FindControl(1, 5488)
Quote:

>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

>.



Tue, 05 Apr 2005 23:33:37 GMT  
 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

> >.



Wed, 06 Apr 2005 04:45:16 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Triggering Outlook's Send\Receive Button

2. Triggering Outlook's Send\Receive button

3. Outlook 'send and receive'

4. Sending Commands to a cmd window in Windows2000 and receiving it's response

5. Can't send/receive in Outlook

6. outlook 2000 won't send/receive

7. Triggering Command Button's On_Click Event from Code

8. Outlook(Redemption) Send doesn't send

9. **************!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Help me !!!!!!!!!!!!!!!!!!!!!!!!'''''''''''''''''''''''*************

10. Can Access tables /DBs support 'triggers'

11. 'Enter' default key trigger

12. Triggering a 'select' change or click

 

 
Powered by phpBB® Forum Software