ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Code to display a true or false value in the cell containing a check box (https://www.excelbanter.com/excel-programming/443556-code-display-true-false-value-cell-containing-check-box.html)

Dave K

Code to display a true or false value in the cell containing a check box
 
I need to place check boxes in individual cells, and then to
hopefully
show the count of checkboxes that have been checked in a range. So for
example, i need to place checkboxes in cells G14 to G25, and show the
sum of checkboxes that have been marked in Cell G26.

This will be a form that is used for manual data entry, FYI.

Is there code i can apply that will display a "1" or a "true/false"
value in the cell containing a checkbox.

(At that point, I would be able to simply perform a sum of the ones,
or a countif of the cells containing "True").

Also, is there a certain way I would need to insert the checkboxes in
the cells so that it will work correctly.

Thanks for any suggestions.



Dave Peterson[_2_]

Code to display a true or false value in the cell containinga check box
 
Check your other post.

On 08/26/2010 12:20, Dave K wrote:
I need to place check boxes in individual cells, and then to
hopefully
show the count of checkboxes that have been checked in a range. So for
example, i need to place checkboxes in cells G14 to G25, and show the
sum of checkboxes that have been marked in Cell G26.

This will be a form that is used for manual data entry, FYI.

Is there code i can apply that will display a "1" or a "true/false"
value in the cell containing a checkbox.

(At that point, I would be able to simply perform a sum of the ones,
or a countif of the cells containing "True").

Also, is there a certain way I would need to insert the checkboxes in
the cells so that it will work correctly.

Thanks for any suggestions.



--
Dave Peterson


All times are GMT +1. The time now is 06:39 PM.

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