Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, Ive biult a tool bar with commandbar controls. If I click one of
my command buttons, it fires the onaction and runs my macro. I want my macro to delete this command button and a couple of others. I can delete he others ok, but not the one clicked. Im using 'Set cbct1 = CommandBars("Customer").FindControl(Tag:="Six") cbct1.Delete' for each one. Ive been trying to deselect the button, but cant work out how. Ive tried enabling and disabling, but this didnt work. Any ideas Regards Robert |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
For Each Ctl In Me.Controls | Excel Programming | |||
Excel controls vs vba controls | Excel Programming | |||
ActiveX Controls vs Form Controls | Excel Discussion (Misc queries) | |||
VB Controls | Excel Programming | |||
Event procedures for controls added with Controls.Add | Excel Programming |