ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   option buttons' values = false (https://www.excelbanter.com/excel-programming/321900-option-buttons-values-%3D-false.html)

Spencer Hutton[_3_]

option buttons' values = false
 
i have 100 option buttons on a sheet, is there a loop that can set all of
there values to False? i can't seem to get the syntax.



Neil[_24_]

option buttons' values = false
 
Spencer,
try this

For i = 1 To 100
ActiveSheet.DrawingObjects("option button " & i) = False
Next i

Neil
"Spencer Hutton" wrote in message
...
i have 100 option buttons on a sheet, is there a loop that can set all of
there values to False? i can't seem to get the syntax.






All times are GMT +1. The time now is 12:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com