Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 86
Default How to clear all checkboxes on a form?

That's it. How is it possible to create push-button functionality that
resets all checkboxes to empty?

Also, is it possible that pushing a button could increase a counter, or
light up a first, second and third cell, that would then be reset by the
button I asked for above?

I thank you for your time.

Arlen
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 834
Default How to clear all checkboxes on a form?

For Each ctl In Me.Controls

If TypeName(ctl) = "CheckBox" Then

ctl.Value = False
End I
Next ctl

--

HTH

Bob

"Arlen" wrote in message
...
That's it. How is it possible to create push-button functionality that
resets all checkboxes to empty?

Also, is it possible that pushing a button could increase a counter, or
light up a first, second and third cell, that would then be reset by the
button I asked for above?

I thank you for your time.

Arlen



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 86
Default How to clear all checkboxes on a form?

Thanks, Bob!

"Bob Phillips" wrote:

For Each ctl In Me.Controls

If TypeName(ctl) = "CheckBox" Then

ctl.Value = False
End I
Next ctl

--

HTH

Bob

"Arlen" wrote in message
...
That's it. How is it possible to create push-button functionality that
resets all checkboxes to empty?

Also, is it possible that pushing a button could increase a counter, or
light up a first, second and third cell, that would then be reset by the
button I asked for above?

I thank you for your time.

Arlen



.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to clear checkboxes Guy[_2_] Excel Worksheet Functions 5 January 2nd 09 08:39 PM
Macro to clear checkboxes and protected cells Guy[_2_] Excel Worksheet Functions 2 December 29th 08 08:54 PM
Clear Checkboxes fak119 Excel Discussion (Misc queries) 1 March 22nd 07 04:43 PM
Form Checkboxes are not maintaining cell link CSK Excel Discussion (Misc queries) 6 March 9th 07 03:14 PM
Macro to make all checkboxes false and clear all comboxes ynissel Excel Discussion (Misc queries) 5 July 30th 05 12:22 AM


All times are GMT +1. The time now is 10:16 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"