Thread
:
Adjust content antd line spacing in word table according to checkbox content control state
View Single Post
01-03-2024, 03:35 PM
AVarg123
Windows 10
Office 2016
Novice
Join Date: Dec 2021
Posts: 15
Thank you!
The below code worked.
Private Sub Document_ContentControlOnExit(ByVal aCC As ContentControl, Cancel As Boolean)
If aCC.Type = wdContentControlCheckBox Then
aCC.Range.Rows(1).Range.Font.Hidden = Not aCC.Checked
End If
End Sub
AVarg123
View Public Profile
Find all posts by AVarg123