View Single Post
 
Old 10-18-2022, 07:07 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,178
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

It is possible to do without VBA but I wouldn't recommend it as it is quite obscure and requires you to update fields .

I've attached a demonstration file that shows how it can be done with a mapped content control and a nested If field which draws its test from the value of the document property the CC maps to. To experiment with this file, change the value of the checkbox and select all then press F9 to update the fields.

The nested field follows the pattern of
{IF {DocProperty x}="true" "Value if true" "Value if false"}
Attached Files
File Type: docx Variable content based on the value of a checkbox.docx (28.3 KB, 8 views)
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote