Thread: Check Boxes
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default Check Boxes

'If they're from the forms toolbar:
ActiveSheet.CheckBoxes.Value = False

'If they're from the control toolbox toolbar:
Dim myCBX As OLEObject
For Each myCBX In ActiveSheet.OLEObjects
If TypeOf myCBX.Object Is MSForms.CheckBox Then
myCBX.Object.Value = False
End If
Next myCBX

Felix wrote:

In Excel 2oo7, is there a makro that uncheck all check boxes in a worksheet?
(empty them?)
--
Felix


--

Dave Peterson