Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to add a button to a popup control, but I am getting an error
message saying that the add method failed. Here is the code that I am using. This code works for other controls. Set oPop = Application.CommandBars("BPT_BOTTOM").Controls.Add (Type:=msoControlPopup, Id:=30080, Befo=2) oPop.Caption = "Change IT!" 'basic shapes------------------------------------------------ Set oSecondPop = oPop.Controls.Add(Type:=msoControlButtonPopup, Id:=1405, Befo=1) oSecondPop.Controls.Add Type:=msoControlButton, Id:=1232 Does anyone know what I am doing wrong? Thanks, Jeff |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
adding a control button with a filter | Excel Worksheet Functions | |||
ADDING A PRINT CONTROL BUTTON | Excel Worksheet Functions | |||
Adding a control button to insert a date in the active cell. | Excel Discussion (Misc queries) | |||
How do I get events from a "Split Button Popup" control? | Excel Programming | |||
Control IE popup from excel VBA instantiation | Excel Programming |