You could probably use a macro. But you'd need to tell us what
needs to be totalled. The number of checkboxes checked? Values
associated with a checkbox? Also, which version of Word?
The following macro will add up the number of checked boxes in the first table
of a document and output the result in a message box
Sub CountCheckboxes()
Dim tbl As Word.Table
Dim ffld As Word.FormField
Dim lCheckedBoxes As Long
Set tbl = ActiveDocument.Tables(1)
lCheckedBoxes = 0
For Each ffld In tbl.Range.FormFields
If ffld.CheckBox.Valid Then
If ffld.CheckBox.Value = True Then
lCheckedBoxes = lCheckedBoxes + 1
End If
End If
Next
MsgBox lCheckedBoxes
End Sub
The version is 2000. I would need to calculate the number of boxes checked.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.