Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Spyren
Sub DelButtons() Dim btn As Button For Each btn In Sheet1.Buttons btn.Delete Next btn End Sub The Button data type is a deprecated object (I think they want you to use the Shape object), but it's the best for doing this. -- Dick Kusleika MVP - Excel Excel Blog - Daily Dose of Excel www.dicks-blog.com "SPYREN" wrote in message ... From the Forms toolbar "Dick Kusleika" wrote: Spyren Buttons from the Forms toolbar or the Control Toolbox? -- Dick Kusleika MVP - Excel Excel Blog - Daily Dose of Excel www.dicks-blog.com "SPYREN" wrote in message ... Greetings, Can someone tell me how to remove ALL the buttons created in a worksheet without knowing the assigned number of those buttons when they were created. The number of buttons in the worksheet always varies. Thank you in advance for your help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lost Enable Automatic Refresh button in 2007 | Excel Discussion (Misc queries) | |||
Automatic worksheet name from cell on that worksheet (A2) | Excel Discussion (Misc queries) | |||
Automatic updating of a rollup worksheet when a new worksheet is a | Excel Worksheet Functions | |||
print different worksheet by pressing visible button on worksheet | Excel Worksheet Functions | |||
restrict row delition | Excel Programming |