View Single Post
 
Old 11-25-2023, 01:41 AM
Borcki Borcki is offline Windows 11 Office 2021
Novice
 
Join Date: Nov 2023
Posts: 2
Borcki is on a distinguished road
Default

Quote:
Originally Posted by gmaxey View Post
Is there some code that you would like for us to look at?
Good morning,

oh sorry ive forgot to put the code for the ActiveX CheckBoxes. The code was

Privat Sub CheckBox1_Click()
If CheckBox1.Value = True Then
ActiveDocument.Bookmarks("Login").Range.Font.Hidde n = False
End If
If CheckBox1.Value = True Then CheckBox2.Value = False
End If
End Sub

Privat Sub CheckBox2_Click()
If CheckBox2.Value = True Then
ActiveDocument.Bookmarks("Logout").Range.Font.Hidd en = False
End If
If CheckBox2.Value = True Then
CheckBox1.Value = False
End if
End Sub

So the code only should show a bookmark and uncheck the other checkbox. But if you select a checkbox and you fill out the bookmark(its a table) your print preview is gone. If you didnt check a checkbox the print preview is still visible.

Now i wanna try this with the contentcontrol checkboxes.

Or do you have an idea why the print preview got disabled?

Thank you for your help

Last edited by Borcki; 11-25-2023 at 03:13 PM.
Reply With Quote