Word - Check Box form field - can selected choice be used in another section of the document?

Hello,

When the person filling in a form selects a "Check Box", I would like to take their selection and use it in another location of the document.

I am using the Legacy tools "Check Box" tool.

I am able to do this two different ways with a "Text Form field"

- via the "Text Form field" Bookmark and creating a cross reference to the Bookmark

- via attaching a macro to the Exit property of the "Text Form Field". (See sample macro code below.)

Sample macro code -

Sub CopyField()

   Dim Temp as String

   Temp = ActiveDocument.FormFields("Field1").Result

   ActiveDocument.FormFields("Field2").Result = Temp

End Sub

Is there a similar functionality when using "Check Boxes".

Thank you

MJR

Answer
Answer

Run a macro containing the following code on exit from Checkbox_1

With ActiveDocument
    .FormFields("Checkbox_21").CheckBox.Value = .FormFields("Checkbox_1").CheckBox.Value
End With

Checkbox_21 will then reflect the state of Checkbox_1

Hope this helps,
Doug Robbins - MVP Office Apps & Services (Word)
dougrobbinsmvp@gmail.com
It's time to replace ‘Diversity, Equity & Inclusion’ with ‘Excellence, Opportunity & Civility’ - V Ramaswamy

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated October 5, 2021 Views 1,865 Applies to: