Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
sub Trythis()
With Application.CommandBars("Cell") .FindControl(ID:=21).Enabled = True With .Controls.Add(Type:=msoControlButton) .Caption = "Hello" .OnAction = "Macro_1" End With End With End Sub Sub Macro_1() MsgBox "Good Night!", vbInformation + vbOKOnly, "From Andoni wit Love:" End Su -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adding a menu item to Excel | Excel Discussion (Misc queries) | |||
Menu Item disappeared after double-clicking xls | Excel Discussion (Misc queries) | |||
How to delete item on right click menu? | Excel Discussion (Misc queries) | |||
Menu items added with menu item editor in older versions | Excel Discussion (Misc queries) | |||
Adding menu to the mouse right click pop-up menu | Excel Programming |