How do I access the parameter property of a Custom popup menu in .

M

madtowncpl

I have a popup menu and want to pass a parameter to a function. I see that
there is a parameter field that supposedly is used as a parameter to the
shortcut bar. Does anyone know how to programmitically get this property of
my custom popup menu?
 
A

Alex Dybenko

You can try the following structure:

commandbars("MyMenuBar").Controls("MyControl").Property

available property list you can get in Object Browser (F2 in module window)
also, dont forget to add reference to corresponding microsoft office XX
library
 

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