View Single Post
 
Old 10-13-2022, 02:14 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Your code relies on there being two Custom Document Properties in the document - Chk1 and Chk2. Only Chk1 exists in your attachment.

It is far from clear as to why you would want two checkboxes, as clicking any checkbox one or more times will toggle its checked state on/off each time. Nevertheless, I've added the Chk2 Custom Document Property and revised the code so that only one checkbox can be checked.
Attached Files
File Type: docm Test CheckBox.docm (32.9 KB, 12 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote