PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Contorl/Command button

Reply

Contorl/Command button

 
Thread Tools Rate Thread
Old 28-04-2004, 04:37 PM   #1
Steve
Guest
 
Posts: n/a
Default Contorl/Command button


Using vba is it possible to add a command button to an
outlook toolbar?
  Reply With Quote
Old 28-04-2004, 05:40 PM   #2
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: Contorl/Command button

Yes. Take a look at the Explorer.CommandBars and Inspector.CommandBars
objects, which use the Office CommandBars .

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Steve" <anonymous@discussions.microsoft.com> wrote in message
news:56c401c42d36$b4cd16c0$a401280a@phx.gbl...
> Using vba is it possible to add a command button to an
> outlook toolbar?



  Reply With Quote
Old 29-04-2004, 09:10 AM   #3
Guest
 
Posts: n/a
Default Re: Contorl/Command button

Thanks but,
I now have a button on my toolbar, but I cannot seem to
pick up the event for it. Any Ideas? The code is being
called from a COM module.
Cheers

>-----Original Message-----
>Yes. Take a look at the Explorer.CommandBars and

Inspector.CommandBars
>objects, which use the Office CommandBars .
>
>--
>Sue Mosher, Outlook MVP
>Author of
> Microsoft Outlook Programming - Jumpstart for
> Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx
>
>
>"Steve" <anonymous@discussions.microsoft.com> wrote in

message
>news:56c401c42d36$b4cd16c0$a401280a@phx.gbl...
>> Using vba is it possible to add a command button to an
>> outlook toolbar?

>
>
>.
>

  Reply With Quote
Old 29-04-2004, 12:09 PM   #4
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: Contorl/Command button

If you're working in VBA, then you can set the OnAction property of the
button to one of your VBA code subroutines.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


<anonymous@discussions.microsoft.com> wrote in message
news:5c5f01c42dc1$7ba9f350$a601280a@phx.gbl...
> Thanks but,
> I now have a button on my toolbar, but I cannot seem to
> pick up the event for it. Any Ideas? The code is being
> called from a COM module.
> Cheers
>
> >-----Original Message-----
> >Yes. Take a look at the Explorer.CommandBars and

> Inspector.CommandBars
> >objects, which use the Office CommandBars .
> >
> >--
> >Sue Mosher, Outlook MVP
> >Author of
> > Microsoft Outlook Programming - Jumpstart for
> > Administrators, Power Users, and Developers
> > http://www.outlookcode.com/jumpstart.aspx
> >
> >
> >"Steve" <anonymous@discussions.microsoft.com> wrote in

> message
> >news:56c401c42d36$b4cd16c0$a401280a@phx.gbl...
> >> Using vba is it possible to add a command button to an
> >> outlook toolbar?



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off