Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 11-24-2022, 04:03 PM
Farming BA Farming BA is offline VBA content control to display/hide a section of text Windows XP VBA content control to display/hide a section of text Office 2016
Novice
VBA content control to display/hide a section of text
 
Join Date: Nov 2022
Posts: 3
Farming BA is on a distinguished road
Default

Apologies, as you can tell I am very much a beginner. Appreciate you're help.

I have attached two snips: One shows the two checkboxes at the start of my document. These are titled in their properties: Checkbox1 and Checkbox2. I created these from the Developer Toolbar and selecting the Checkbox Control Button.

I have then clicked into Visual Basic, and under the "ThisDocument" subfolder of "Normal", I have copied and pasted your code. I have added a snip of this.

I have also added a short screen recording to show you what I am doing.

Thanks,
Rick
Attached Images
File Type: jpg VBA This Document Code.jpg (68.4 KB, 127 views)
File Type: png Checkboxes.PNG (14.8 KB, 122 views)
Attached Files
File Type: zip Virtual Basic Recording (1).zip (1.03 MB, 21 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA content control to display/hide a section of text How to Display Text on Multiple dropdown content control result philip.anthony Word VBA 11 03-28-2022 02:15 PM
VBA content control to display/hide a section of text Content Control values NOT display name silverspr Word VBA 9 09-30-2020 07:53 AM
How to display tag in Content Control instead of title vinbalraj Word 1 03-02-2018 08:55 AM
VBA content control to display/hide a section of text How to manage (display/hide) parts of the text within a document via table of content Curby Word 2 06-30-2016 12:29 AM
Help with show/hide content control acontreras Word VBA 0 10-21-2014 07:28 PM

Other Forums: Access Forums

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


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft