Hello
I've added a Bookmark to my document I am trying to create a Show/Hide, I assume A Toggle Button is best suited to this task. I have named the Toggle Button Caption "Show" and added the following code it however won't work can somebody help? It will be gratefully appreciated
Quote:
If .Togglebutton1.Caption = "Show"
ActiveDocument.Bookmarks("PreApproved").Range.Font .Hidden = False
ToggleButton1.Caption = "Hide"
Else
If .ToggleButton1.Caption = "Hide" Then
ActiveDocument.Bookmarks("PreApproved").Range.Font .Hidden = True
|
I have searched the internet but not having much luck.