Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
cldavis
 
Posts: n/a
Default I want to be able to count the number of checked boxes in a form?

I have a form that has approx. 100 check off boxes. When the forms come back
to me I need to be able to count the boxes that are checked off. I can't get
the check box to be inside of the cell. So the count formula doesn't work.
Any suggestions??? (I'm a new used to Excel 2003 but am very familiar with
XP.)
THANKS so much!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default I want to be able to count the number of checked boxes in a form?

Link each checkbox to a cell, and then count those cells. If it is a forma
checkbox, this will link them to AZ1:AZn

Sub cbs()
Dim i As Long

For i = 1 To ActiveSheet.CheckBoxes.Count
ActiveSheet.CheckBoxes(i).LinkedCell = "AZ" & i
Next i
End Sub


and count with

=COUNTIF(AZ:AZ,TRUE)


--

HTH

RP
(remove nothere from the email address if mailing direct)


"cldavis" wrote in message
...
I have a form that has approx. 100 check off boxes. When the forms come

back
to me I need to be able to count the boxes that are checked off. I can't

get
the check box to be inside of the cell. So the count formula doesn't

work.
Any suggestions??? (I'm a new used to Excel 2003 but am very familiar

with
XP.)
THANKS so much!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
cldavis
 
Posts: n/a
Default I want to be able to count the number of checked boxes in a fo

I know how to link in XP but when I copy the check box and then try to Paste
Special, there isn't a place to paste / link. So still am unable to make
this happen. Can you tell me how to past / link or whatever else you have to
use in 2003. The formula part was no problem. THANKS!!

"Bob Phillips" wrote:

Link each checkbox to a cell, and then count those cells. If it is a forma
checkbox, this will link them to AZ1:AZn

Sub cbs()
Dim i As Long

For i = 1 To ActiveSheet.CheckBoxes.Count
ActiveSheet.CheckBoxes(i).LinkedCell = "AZ" & i
Next i
End Sub


and count with

=COUNTIF(AZ:AZ,TRUE)


--

HTH

RP
(remove nothere from the email address if mailing direct)


"cldavis" wrote in message
...
I have a form that has approx. 100 check off boxes. When the forms come

back
to me I need to be able to count the boxes that are checked off. I can't

get
the check box to be inside of the cell. So the count formula doesn't

work.
Any suggestions??? (I'm a new used to Excel 2003 but am very familiar

with
XP.)
THANKS so much!




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
cldavis
 
Posts: n/a
Default I want to be able to count the number of checked boxes in a fo

Also - I don't want to use a Check "Symbol" (Insert...Symbol) I have to use
the forms toolbar and insert a real check box. It becomes an object rather
than an entry into a cell.

"Bob Phillips" wrote:

Link each checkbox to a cell, and then count those cells. If it is a forma
checkbox, this will link them to AZ1:AZn

Sub cbs()
Dim i As Long

For i = 1 To ActiveSheet.CheckBoxes.Count
ActiveSheet.CheckBoxes(i).LinkedCell = "AZ" & i
Next i
End Sub


and count with

=COUNTIF(AZ:AZ,TRUE)


--

HTH

RP
(remove nothere from the email address if mailing direct)


"cldavis" wrote in message
...
I have a form that has approx. 100 check off boxes. When the forms come

back
to me I need to be able to count the boxes that are checked off. I can't

get
the check box to be inside of the cell. So the count formula doesn't

work.
Any suggestions??? (I'm a new used to Excel 2003 but am very familiar

with
XP.)
THANKS so much!




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default I want to be able to count the number of checked boxes in a fo

Re-read my response.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"cldavis" wrote in message
...
Also - I don't want to use a Check "Symbol" (Insert...Symbol) I have to

use
the forms toolbar and insert a real check box. It becomes an object

rather
than an entry into a cell.

"Bob Phillips" wrote:

Link each checkbox to a cell, and then count those cells. If it is a

forma
checkbox, this will link them to AZ1:AZn

Sub cbs()
Dim i As Long

For i = 1 To ActiveSheet.CheckBoxes.Count
ActiveSheet.CheckBoxes(i).LinkedCell = "AZ" & i
Next i
End Sub


and count with

=COUNTIF(AZ:AZ,TRUE)


--

HTH

RP
(remove nothere from the email address if mailing direct)


"cldavis" wrote in message
...
I have a form that has approx. 100 check off boxes. When the forms

come
back
to me I need to be able to count the boxes that are checked off. I

can't
get
the check box to be inside of the cell. So the count formula doesn't

work.
Any suggestions??? (I'm a new used to Excel 2003 but am very familiar

with
XP.)
THANKS so much!








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
count the number of times the same number shown Noemi Excel Discussion (Misc queries) 1 September 22nd 05 04:00 AM
Count number of cells that contain a certain letter - Case Sensitive elite Excel Discussion (Misc queries) 4 September 20th 05 01:41 PM
Count the number of Cells in one ROW with conditions Amanda Excel Worksheet Functions 2 September 9th 05 04:03 PM
Count the number of worksheets in a workbook Vincdc Excel Discussion (Misc queries) 7 January 17th 05 11:57 PM
Count number of shaded cells Maddoktor Excel Discussion (Misc queries) 2 December 20th 04 08:35 PM


All times are GMT +1. The time now is 12:56 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"