The Select Objects button

  • Thread starter Thread starter Max Power
  • Start date Start date
M

Max Power

Hi all,

I have a custom toolbar that is created programmatically
everytime a worksheet is activated. I want to add to this
toolbar the selectobjects button (the white pointer arrow)
from the standard Drawing Toolbar.

Does anyone know how i can do this, or access the tool?

All help is most appreciated.

Max
 
Max,

I don't know your commandbar name, but you can adapt this

With
Application.CommandBars("Standard").Controls.Add(Type:=msoControlButton,
ID:=182, temporary:=True)
.Caption = "Select Objects"
End With


--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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

Back
Top