Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Does someone have an idea why this doesn´t work?
I had a crash and had to reinstall Excel. When trying to add controls again to my right click menu I get an error on the line .OnAction stating "Fault nr '-2147467259 (80004005)'.: The method 'OnAction' in the object '_CommandBarButton' failed" By adding On error resume next I can read that ..OnAction had become the value .OnAction = "" Set Newitem3 = CommandBars("Cell").Controls.Add With Newitem3 .Caption = "Klistra in summa" .OnAction = "Klistra_in_summa" End With Any help appriciated as I find the right click menues very helpful Mats Bergstrand |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Alt Shortcut from right-click menu | Excel Discussion (Misc queries) | |||
Add Command to Right-Click Menu | Excel Programming | |||
right click menu | Excel Programming | |||
Adding a menu item right click menu when clicking on a single. | Excel Programming | |||
Adding menu to the mouse right click pop-up menu | Excel Programming |