![]() |
|
|||||||
|
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
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
|
|
#3
|
|||
|
|||
|
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?
|
|
#4
|
|||
|
|||
|
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. |
|
#5
|
|||
|
|||
|
Amazing!!!!
![]() ![]() ![]() ![]() ![]() You are too awesome! Thank you very much. I will share this knowledge as well. |
|
| 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 |
Circling your selection on word vs check box or radio button
|
NBuckley | Word | 2 | 04-04-2014 03:17 AM |
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 |