By learning to hide text when a Word form’s checkbox is checked, you can let form users control large amounts of content in a document with a single click. The event function of Word’s Visual Basic programming language makes this project possible. Event functions are functions that Word executes whenever a user interacts with a form control linked to your program. For example, the event function “Checkbox1_Clicked” will run when a user clicks the checkbox named “CheckBox1.” Private Sub CheckBox1_Click() If Bookmarks(“TextToHide”).Range.Font.Hidden = True Then Bookmarks(“TextToHide”).Range.Font.Hidden = False Else Bookmarks(“TextToHide”).Range.Font.Hidden = True End If End Sub Writer Bio

How to Create a Microsoft Word Form That Auto Hides Text When Checkbox Is Checked  - 37