Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-20-2015, 12:16 PM
jt3writer jt3writer is offline Mutually exclusive checkboxes with text Mac OS X Mutually exclusive checkboxes with text Office for Mac 2011
Novice
Mutually exclusive checkboxes with text
 
Join Date: Jan 2015
Posts: 2
jt3writer is on a distinguished road
Default Mutually exclusive checkboxes with text

Hi everyone,

I'm trying to create an evaluation form in Word, and have run up against a coding issue that I hope someone here can help with. Here goes: I have a table, and within that table there are six checkboxes, each in a separate cell. We want these to be mutually exclusive for reasons of scoring. A seventh cell should display a score based on which checkbox is selected. This setup occurs for multiple criteria, then at the bottom the combined criteria scores are tallied.

So, first things first. I found code on Microsoft's web site that works perfectly for making the checkboxes mutually exclusive in sets, so I'm OK with that. Further, I know how to create a SUM field to tally the scores once they are in place. It's getting a score to show based on the box selected that has me stumped.

I've searched all over the web and spent several days trying various IF/THEN formulas and macros, but haven't gotten any to work. In short, what I want is this: a user checks box 6, and the score "6" appears in the seventh cell. If they change and mark box 5, the score changes to 5, and so on.

I'm sure I'm missing some very easy, but since I'm a noob at VBA, I come hat in hand to ask the experts. Any ideas how I can connect the check boxes to a score for easy calculation? Any help and assistance is appreciated!

UPDATE: Here is one code I found, but I receive a "424" error when I attempt to run it.
Sub CheckBox1_Change()
If CheckBox1.Value = True Then
TextBox1.Text = "Checked!"
Else


TextBox1.Text = "Unchecked."
End If
End Sub
Reply With Quote
  #2  
Old 01-21-2015, 12:02 AM
gmayor's Avatar
gmayor gmayor is offline Mutually exclusive checkboxes with text Windows 7 64bit Mutually exclusive checkboxes with text Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,106
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

See the thread - https://www.msofficeforums.com/word-...t-counter.html

However I am not sure how well this will lend itself to the Mac version.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #3  
Old 01-21-2015, 12:41 PM
jt3writer jt3writer is offline Mutually exclusive checkboxes with text Mac OS X Mutually exclusive checkboxes with text Office for Mac 2011
Novice
Mutually exclusive checkboxes with text
 
Join Date: Jan 2015
Posts: 2
jt3writer is on a distinguished road
Default Thanks

gmayor,

Thanks! I'll give this a shot. If I hit another snag, I'll definitely give you a shout. You seem to know what you're doing, unlike me!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mutually exclusive checkboxes with text checkboxes smohap Word 1 06-19-2011 09:24 PM
Mutually exclusive checkboxes with text using checkboxes to delete tables atfresh Word Tables 1 06-19-2011 09:13 PM
Mutually exclusive checkboxes with text Excel Checkboxes theresamille699 Excel 3 04-12-2011 08:08 PM
Ticking Checkboxes screid Word 1 06-08-2010 02:04 AM
Manipulating checkboxes in XML Ivo Word 0 12-06-2005 09:04 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:13 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