Get Symbol Name from Init menu function
Hallo.
I have library symbol with name "CombySymbol1" that contains from one CombyElement with name "Comby1".
This "Comby1" in runtime properties section linked with context menu element, that runs
VBA function Init_Menu when selected.
Also i have some another symbols, with diffrent names that also contains CombyElements which links with same Init_Menu menu object.
I want to, using VBA-code, determine, what is the symbol name from which menu item was run.
I try to analyse obElem parameter of Init_Menu function, but all what I can get is the name of comby-element inside symbol (obElem.Name property), and name of menu objects itself (obElem.MenuName).
This is a migrated post! Originally posted on 20.02.2012 by user stolyarov_as. Please be aware that information can be outdated.