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

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

Guest

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