View Single Post
 
Old 12-13-2017, 06:57 AM
namrehx namrehx is offline Windows 10 Office 2013
Novice
 
Join Date: Nov 2017
Posts: 12
namrehx is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
In that case, try:
Code:
Private Sub CheckBox1_Click()
Call ShowHide
End Sub

Private Sub CheckBox2_Click()
Call ShowHide
End Sub

Sub ShowHide()
Dim bVis As Boolean: bVis = True
If CheckBox1.Value = True Then bVis = False
If CheckBox2.Value = True Then bVis = False
ActiveDocument.Bookmarks("Bookmark1").Range.Font.Hidden = bVis
End Sub
Thank you so much! This works for me!
Reply With Quote