Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Wed, 15 Oct 2008 10:10:33 -0400,    group: microsoft.public.word.vba.general        back       


Show Hidden Text   
Is there a way programatically to toggle the Show and Hide hidden
text?
date: Wed, 15 Oct 2008 10:10:33 -0400   author:   unknown

RE: Show Hidden Text   
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


"Jim@aol.com" wrote:

> Is there a way programatically to toggle the Show and Hide hidden
> text?
>
date: Wed, 15 Oct 2008 07:45:01 -0700   author:   StevenM stevencraigmiller(at)comcast(dot)net

Re: Show Hidden Text   
Or even simpler


Sub ToggleHidden()
With ActiveWindow.View
    .ShowHiddenText = Not .ShowHiddenText
End With
End Sub

-- 
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


Jim@aol.com wrote:
> Is there a way programatically to toggle the Show and Hide hidden
> text?
date: Thu, 16 Oct 2008 08:37:36 +0300   author:   Graham Mayor

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us