Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Emory,
You can try the following code, but it will select all Toolbox Controls on your sheet. Regards, KL Sub SelectAllControlToolboxShapes() With ActiveSheet.Shapes numShapes = .Count If numShapes 1 Then ReDim btnsArray(0) For i = 1 To numShapes If .Item(i).Type = 12 Then btnsArray(UBound(btnsArray)) = .Item(i).Name ReDim Preserve btnsArray(UBound(btnsArray) + 1) End If Next If UBound(btnsArray) 0 Then ReDim Preserve btnsArray(UBound(btnsArray) - 1) .Range(btnsArray).Select End If End If End With End Sub "Emory Richter" wrote in message om... Is there a statement to select *all* the buttons on a worksheet in order to delete them or change their properties as a group? Thank you, Emory |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help! Cannot select option buttons when Excel sheet is protected. | Excel Discussion (Misc queries) | |||
How do I select several control buttons at once on an Excel sheet | Excel Discussion (Misc queries) | |||
Independent radio buttons so I can select more than one | Excel Discussion (Misc queries) | |||
How to Select multi from drop down (field buttons) | Charts and Charting in Excel | |||
Option buttons to select a row of cells | Excel Programming |