If your hidden text has a style you could try something like:
Sub ToggleHiddenText()
Dim sStyle As String
sStyle = "Normal"
If ActiveDocument.Styles(sStyle).Font.Hidden = True Then
ActiveDocument.Styles(sStyle).Font.Hidden = False
Else
ActiveDocument.Styles(sStyle).Font.Hidden = True
End If
End Sub
Sub ToggleHidden()
With ActiveWindow.View
.ShowHiddenText = Not .ShowHiddenText
End With
End Sub
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.