ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   access [contextual||context||right-click] [menu||commandbar] of ch (https://www.excelbanter.com/excel-programming/364935-access-%5Bcontextual%7C%7Ccontext%7C%7Cright-click%5D-%5Bmenu%7C%7Ccommandbar%5D-ch.html)

mrmack

access [contextual||context||right-click] [menu||commandbar] of ch
 
Hi,

I would like to add an item to the chart contextual menu, but I don't know
where to find it!

The cell/worksheet contextual menu is accessible via

((Excel.Application) xl).CommandBars["Cell"]

whilst ((Excel.Application) xl).CommandBars["Chart"] points not to the
contextual menu but to the floating toolbar menu.

"Chart Menu Bar" is, of course, the top level menu bar (File,Edit...), and
so I appear to have run out of items in the CommandBars collection that
contain the word "Chart".

Not sure where to look now - getting frustrated enough to question "is this
even possible?".


All times are GMT +1. The time now is 06:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com