Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Morning all,
I've been tasked with making some modifications to a VBA add-in for Excel 2003. Not my usual programming territory but so far so good except for one thing: In creating a short menu appended to the "Cell" Application.CommandBars and then, according to user input, setting the "State" property to either MsoButtonState.msoButtonDown or MsoButtonState.msoButtonUp I don't get any sort of visual indication of the menu item being selected or not. By contrast, the exact same code (just hooked onto the main menu bar instead of the 'Cell' context menu) functions correctly and I get the appropriate highlight and checkbox to show the menu item is/isn't selected. I can't find any similar occurences online and I'm a little stumped. I suppose the root cause is probably differences between the main menu and context menu objects - I'm treating them as the same for now (all Type:=msoControlButton and accessed via Office.CommandBarButton instances). It'd be greatly appreciated if someone could point me in the right direction for creating context menu entries with on/off visual indication :-) Thanks in advance, Jack |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Add item to 'Cell' context menu with XML (RibbonX) | Excel Programming | |||
Updating context menu in Excel | Excel Discussion (Misc queries) | |||
Add items to context menu | Excel Worksheet Functions | |||
Context menu of Cell | Excel Programming | |||
Custum Excel RMB Context Menu | Excel Programming |