Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
uncheck checkboxes from a form
Dim ctl As Control
For Each ctl In Me.Controls If TypeName(ctl) = "CheckBox" Then ctl.Value = False End If Next ctl -- --- HTH Bob (change the xxxx to gmail if mailing direct) "Ben" wrote in message ... Hi all, I have a form with a list of 15 checkboxes. How do I use a FOR EACH loop to uncheck all the checkboxes? Thanks for your help. Ben -- |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
uncheck checkboxes from a form
Bob,
It worked. Thanks again. Ben -- "Bob Phillips" wrote: Dim ctl As Control For Each ctl In Me.Controls If TypeName(ctl) = "CheckBox" Then ctl.Value = False End If Next ctl -- --- HTH Bob (change the xxxx to gmail if mailing direct) "Ben" wrote in message ... Hi all, I have a form with a list of 15 checkboxes. How do I use a FOR EACH loop to uncheck all the checkboxes? Thanks for your help. Ben -- |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to clear all checkboxes on a form? | Excel Worksheet Functions | |||
How do I uncheck numerous Excel2003 form toolbar check boxes? | Excel Worksheet Functions | |||
User Form with CheckBoxes | Excel Programming | |||
Adding Checkboxes to a Form | Excel Programming | |||
How do I check/uncheck ten or odd Checkboxes by click on one check | Excel Discussion (Misc queries) |