I assume you have three pages or sections in a single template and you want to have the radio button control which is visible.
'Try creating a bookmark for each section of the template (Name1) (Name2) (Name3) Format all the text in the template except for the radio button as hidden.
'within the macro.
' set show hidden text to false
With ActiveWindow
With .View
.ShowHiddenText = False
End With
End With
' Depending which radio button is selected select the other bookmarks and set the text to hidden for the two not chosen and not hidden for the one selected'
Selection.GoTo what:=wdGoToBookmark, Name:="Name1"
With Selection.Font
Hidden = True
End With
Selection.GoTo what:=wdGoToBookmark, Name:="Name2"
With Selection.Font
Hidden = True
End With
Selection.GoTo what:=wdGoToBookmark, Name:="Name2"
With Selection.Font
Hidden = False
End With
|