CommandBar Question

E

Ender Wheel

I created a new item for the command bar using the code below but when I
click on Journal or Notes my program duplicates the item. It doesn't seem
to be calling the code again, just duplicating. Any ideas? Thanks.

With objExpl.CommandBars("Menu Bar")

Set MyButton = .Controls.Add(Type:=msoControlPopup, Before:=.Controls.Count)

MyButton.Caption = "&iManage"

MyButton.Visible = True

MyButton.Tag = "iManage"

End With
 

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