![]() |
#1
|
|||
|
|||
![]()
Hello!
I would like to check a checkbox in Word and have it only show some text content when the box is checked. I have attempted to do this with IF statements and bookmarks, but I have not been able to get it to do what I want. Even just trying to reference the checkbox is proving to be difficult: {IF check = ☒ "CHECKED" "UNCHECKED"} Where the title and tag of the checkbox are 'check', and the ☒ is a content control checkbox. Any steering in the right direction would be helpful! ![]() ![]() Do you think that this would be better as a macro? |
#2
|
||||
|
||||
![]()
You would need to use a ContentControlOnExit macro to test the checkbox state and modify a Document variable or bookmark so your IF test can evaluate that.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
Tags |
content control, if statement, vba |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
allikat305 | Word Tables | 5 | 11-22-2016 11:20 PM |
outlook 2013 this item contains active content that cannot be displayed in the reading pane | w0lfshad3 | Outlook | 2 | 09-14-2016 03:44 PM |
![]() |
derajlance | Word VBA | 1 | 05-13-2016 01:55 PM |
I would like to change how the screen is displayed | ottiliegirl | OneNote | 0 | 01-17-2016 10:27 AM |
![]() |
canadansk | Word VBA | 5 | 04-01-2015 08:21 AM |