Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-19-2022, 06:10 AM
Tamac Tamac is offline Calculate "Checked" Checkboxes - Word Table Windows 10 Calculate "Checked" Checkboxes - Word Table Office 2021
Novice
Calculate "Checked" Checkboxes - Word Table
 
Join Date: Aug 2022
Posts: 1
Tamac is on a distinguished road
Default Calculate "Checked" Checkboxes - Word Table

I have a Word document that has two separate tables. Table 1 (named Question1Table) has 8 individual check boxes (Legacy or ActiveX, could use any). I want to add up the total number of check boxes "Checked" in "Question1Table" and place the value of the total number of check boxes "Checked" into "Question1Table" in a different cell named (Question1Answer) e.g., 1, 2, 3, 4... 8 in"Question1Table".



Table 2 (named Question2Table) has 6 individual check boxes. I want to add up the total number of check boxes "Checked" in "Question2Table" and place the value of the total number of check boxes "Checked" in "Question2Table" into a different cell named (Question2Answer) e.g., 1, 2, 3... 6 in"Question2Table".

I have attempted several different way , but do not get it to work. Is there any guidance on the forum on how to do this or can anyone provide some assistance?
Reply With Quote
  #2  
Old 08-21-2022, 05:43 PM
Guessed's Avatar
Guessed Guessed is offline Calculate "Checked" Checkboxes - Word Table Windows 10 Calculate "Checked" Checkboxes - Word Table Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,967
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I recommend you use Content Controls for both the checkboxes and Total value. Use the Tag property to set the group for the totals.

Then use an OnExit macro to calculate the total and load it to the Total value.

Post a sample document set up that way if you can't work out how to code it.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 08-21-2022, 08:14 PM
macropod's Avatar
macropod macropod is offline Calculate "Checked" Checkboxes - Word Table Windows 10 Calculate "Checked" Checkboxes - Word Table Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

See, for example:
https://www.msofficeforums.com/word-...nted-part.html
https://www.msofficeforums.com/word-...g-results.html
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checkboxes displayed "next" to the word document Nicky Word 3 05-20-2020 07:36 PM
Calculate "Checked" Checkboxes - Word Table Word Table of Contents - when I title a heading "table", table of contents shows "table2" jncuk Word 8 04-15-2020 07:01 PM
Add / Sum checked Checkboxes labelled 1, 2, 3, etc. in Word Table - Need Macro? klearazkrystal Word VBA 7 03-31-2019 11:50 PM
Calculate "Checked" Checkboxes - Word Table Erroneously checked "Ignore Rule" while editing BorderDrama Word 1 12-11-2014 01:40 AM
How to edit the "Format" and the "show level" of an EXISTING table of content? Jamal NUMAN Word 2 08-14-2011 10:46 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:23 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft