Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-18-2019, 07:37 AM
Dmcmillo Dmcmillo is offline Microsoft Word 2016 - Link Radio buttons to activate check boxes and/or highlight as well. Windows 10 Microsoft Word 2016 - Link Radio buttons to activate check boxes and/or highlight as well. Office 2016
Novice
Microsoft Word 2016 - Link Radio buttons to activate check boxes and/or highlight as well.
 
Join Date: Sep 2019
Posts: 3
Dmcmillo is on a distinguished road
Default Microsoft Word 2016 - Link Radio buttons to activate check boxes and/or highlight as well.

Morning,





I have been tasked with somehow linking a group that contains radio buttons (4) that when selected marks check boxes below. Is this possible? Is VBA needed to accomplish this? if so, how?



Shared album - C.A.S.E Buyer - Google Photos
This is the form. Can i select a radio button and populate check boxes automatically?
Reply With Quote
  #2  
Old 09-19-2019, 03:41 AM
gmaxey gmaxey is offline Microsoft Word 2016 - Link Radio buttons to activate check boxes and/or highlight as well. Windows 10 Microsoft Word 2016 - Link Radio buttons to activate check boxes and/or highlight as well. Office 2016
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,422
gmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the rough
Default

Basically in the ThisDocument module add code similar to this:

Code:
Private Sub OptionButton1_Click()
   If OptionButton1 Then
     CheckBox2 = True
     CheckBox4 = True
     CheckBox1 = False
     CheckBox3 = False
   End If
End Sub
Private Sub OptionButton2_Click()
   If OptionButton2 Then
     CheckBox2 = False
     CheckBox4 = False
     CheckBox1 = True
     CheckBox3 = True
   End If
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
  #3  
Old 09-19-2019, 04:48 AM
Dmcmillo Dmcmillo is offline Microsoft Word 2016 - Link Radio buttons to activate check boxes and/or highlight as well. Windows 10 Microsoft Word 2016 - Link Radio buttons to activate check boxes and/or highlight as well. Office 2016
Novice
Microsoft Word 2016 - Link Radio buttons to activate check boxes and/or highlight as well.
 
Join Date: Sep 2019
Posts: 3
Dmcmillo is on a distinguished road
Default

Thank you! If i go into VB and paste this under "ThisDocument" how do i link the radio buttons? Do i have to recreate them like a MACRO?
Reply With Quote
  #4  
Old 09-19-2019, 05:01 AM
gmaxey gmaxey is offline Microsoft Word 2016 - Link Radio buttons to activate check boxes and/or highlight as well. Windows 10 Microsoft Word 2016 - Link Radio buttons to activate check boxes and/or highlight as well. Office 2016
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,422
gmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the rough
Default

Since the only possible radio buttons in Word document are activeX controls, you just need to make sure you have two ActiveX option buttons named OptionButton1 and OptionButton2.

Of course, the best thing is to revise the code to reflect the activeX controls you already have in the document.
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
  #5  
Old 09-19-2019, 06:49 AM
Dmcmillo Dmcmillo is offline Microsoft Word 2016 - Link Radio buttons to activate check boxes and/or highlight as well. Windows 10 Microsoft Word 2016 - Link Radio buttons to activate check boxes and/or highlight as well. Office 2016
Novice
Microsoft Word 2016 - Link Radio buttons to activate check boxes and/or highlight as well.
 
Join Date: Sep 2019
Posts: 3
Dmcmillo is on a distinguished road
Default

Amazing!!!!

You are too awesome! Thank you very much. I will share this knowledge as well.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Radio Buttons in Word Document in MAC Office 2016 kim88 Word 3 12-19-2016 03:36 PM
check box issue (problem with radio buttons from web page) Word 2013 cQQlgirl Word 6 03-19-2015 07:23 PM
Microsoft Word 2016 - Link Radio buttons to activate check boxes and/or highlight as well. Circling your selection on word vs check box or radio button NBuckley Word 2 04-04-2014 03:17 AM
Microsoft Word 2016 - Link Radio buttons to activate check boxes and/or highlight as well. is there a way to link check boxes with real text Pierre-Hugues Word 7 09-26-2013 03:52 PM
Check Boxes and Command Buttons Micky P Word VBA 0 10-27-2011 01:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:55 AM.


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