![]() |
|
#1
|
|||
|
|||
![]()
Hi there,
How can I set up checkboxes in Word so that they control the visibility of content? I’ve attached the document I’m working on. Here’s what I’d like to achieve: When the document is opened, all content is hidden by default. A chapter only appears when its checkbox is ticked. Within Chapter 1, I’ve added an extra layer of control: it contains three topics, each with its own checkbox. Those topics should remain hidden unless their individual checkbox is ticked (after Chapter 1 itself is revealed). Do I need to use macros for this, and if so, what kind of code would I need? Or could it be done with bookmarks? Thanks so much for your help—this confused noob really appreciates it! |
#2
|
||||
|
||||
![]()
There are various threads here that describe how to set this functionality up. Here is an example.
https://www.msofficeforums.com/word-...-bookmark.html I would recommend you try to avoid bookmarks and put your chapters inside Rich Text Content Controls and configure your code appropriately. If you make use of the checkbox Title or Tag properties and align this with the Title/Tag of the chapters then the code doesn't need to be customised for every chapter.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Eragon91 | Word VBA | 5 | 03-30-2024 07:55 PM |
VBA to show/hide checkboxes- always showing bookmark | KSmart | Word VBA | 4 | 11-07-2023 02:24 PM |
UserForm with checkboxes that hide/show bookmarked text in document | dohertym | Word VBA | 4 | 05-16-2022 09:48 PM |
![]() |
AOSMITH | Word | 5 | 11-19-2019 07:19 PM |
Help with show/hide content control | acontreras | Word VBA | 0 | 10-21-2014 07:28 PM |