Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How do I total a series of checked boxes?

I have a line of activex checkmark control boxes. How do I total the number
of boxes that are checked?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,123
Default How do I total a series of checked boxes?

Hi dayoungblood

Try this

Sub test2()
Dim i As Long
i = 0
For Each obj In ActiveSheet.OLEObjects
If TypeOf obj.Object Is MSForms.CheckBox Then
If obj.Object.Value = True Then i = i + 1
End If
Next
MsgBox i
End Sub


--
Regards Ron de Bruin
http://www.rondebruin.nl



"dayoungblood" wrote in message ...
I have a line of activex checkmark control boxes. How do I total the number
of boxes that are checked?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,123
Default How do I total a series of checked boxes?

Oops you posted in functions

Or use a linked cell in the properties of each checkbox
And count the Tru's

=COUNTIF(A40:Z40,"True")



--
Regards Ron de Bruin
http://www.rondebruin.nl



"dayoungblood" wrote in message ...
I have a line of activex checkmark control boxes. How do I total the number
of boxes that are checked?



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
Bubbles with multiple series Kim Charts and Charting in Excel 3 July 2nd 06 09:09 PM
How do I tally checked check boxes in an Excel spreadsheet? acpharmd Excel Worksheet Functions 2 June 19th 06 09:33 PM
I want to be able to count the number of checked boxes in a form? cldavis Excel Worksheet Functions 4 November 21st 05 09:53 AM
Click Boxes for each series in a graph ExcelMonkey Charts and Charting in Excel 2 October 17th 05 11:43 PM
Quasi Transpose / Stacking Columns Mike Excel Worksheet Functions 10 April 26th 05 08:04 PM


All times are GMT +1. The time now is 09:24 PM.

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

About Us

"It's about Microsoft Excel"