Copy Send Using CommandBarPopup

R

Randall

I am trying to code an addin that copys the Send Using control from the file
menu to the standard tool bar. I get the send using control added but I cant
seem to get the sub controls added? Can this be done without creating an
addin?

I am self educated in creating addins, so maybe I am missing something
simple.

How do I declare and use the _commandBarButton object? What is with the
underscore?

Hey Thanks all!!
 
R

Randall

I figured it out. I knew it was something simple. I was calling the copy
method incorectly.

Set oCB = Inspector.CommandBars.FindControl(Id:=31144)
oCB.Copy Inspector.CommandBars("Standard"), 4

I hope this helps others. Knowing the solution makes my question seem dumb.

Good on ya! Randall <><
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top