Copy Send Using CommandBarPopup

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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!!
 
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 <><
 
Back
Top