Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-24-2022, 01:31 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


Thank you for your help, Macropod. I feel like I am almost there, but I require a little more guidance. This is all very new to me.

I have attached the latest version of the document. I have now added two Checklist Content Controls, titled "Checkbox1" and "Checkbox2". I have now also put my the sections of text which I would like to hide/display Rich Text Content Control boxes named "ConditionalText1" and "ConditionalText2".

I have then entered the code you have provided me, in to the "ThisDocument" code module of the document (snip attached - as I'm not certain I'm in the right place). I made sure my naming matched the code. I did "Checkbox1" and "ConditionalText1" first. However, when I check and uncheck the box, nothing seems to happen.

I would be grateful for further advice to help me over the line here, if possible.

Rick
Attached Images
File Type: png Code.PNG (63.6 KB, 122 views)
Attached Files
File Type: docm Document for MS Forum latest.docm (65.3 KB, 27 views)
Reply With Quote
Reply

Thread Tools
Display Modes


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 09:44 PM.


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