New Menu

R

Red

Hi Guys,

I've trying to create a new shortcut menu [PIC Menu] with controls that run
macros within the global.mpt. I've gotten as far as the menu and items
within but can't find any documentation that explains how to associate a
macro with each item. I'd appreciate any help as it's now beginning to drive
me mad!

Ta

Set mymenu = cbrMenuBar.Controls.Add(msoControlPopup, before:=9)
With mymenu
.Caption = "PIC &Menu"
End With

Set myItem1 = mymenu.Controls.Add(msoControlButton)
With myItem1
.Caption = "&Availability"
End With
 
G

Gérard Ducouret

Hello Red,

Check the OnAction property of your control

Hope this help,

Gérard Ducouret
 

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