View Single Post
  #2  
Old April 30th 06, 09:04 AM posted to microsoft.public.outlook,microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default click a button on the toolbar (via VBA?)

Am Fri, 28 Apr 2006 16:17:05 +0200 schrieb Dan:

Dan, you could use the CommandBars.FindControl function to get a reference
on that button. For a CommandBarButton you can then call its Execute method,
thatīs similar to a click on that button. But thatīs it. You still need to
do a click somewhere and then enter more information, so I donīt see any
advantage.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --


hi there,

I do have a plugin (Red Oxygen Outlook COM Add-In) installed on Outlook
2003. That plugin adds a button to the toolbar which allows me to send SMS
trhough my local provider. Unfortunately, there is no programmatic

(library)
access to that plugin. The functionality is very primitive. I click the
button and a form opens that allows me to enter a name for the receiver
(that one will be checked against the directory or the Outlook contacts),

a
text to be sent and that's about it.

There is no way I can see to fire up that form except to click on that
button. I wonder if there might be a way to add some more functionality,
like adding that tool to the right click menu of a contact and initiate a
send from there.

is there a way to use VBA to click on a button in the toolbar that does

not
expose itself in the library?

thanks

dan

Ads