When I try to remove the hidden text from the doc, I succeed but it also
takes away all my hard page returns. Is there a way to remove the hidden text
and codes without changing the pagination?
Thanks

Re: remove hidden codes without changing pagination by Dave

Dave
Thu May 25 15:16:45 CDT 2006

Hi,

Maybe you can use something like the following:

With Selection.Find
.ClearFormatting
.Text = "[!^m]"
.Wrap = wdFindContinue
.Font.Hidden = True
With .Replacement
.ClearFormatting
.Text = ""
End With
.Execute Replace:=wdReplaceAll
End With


HTH,
Dave


"sunlight" <sunlight@discussions.microsoft.com> wrote in message
news:9AB50479-F412-4BAC-9FB2-843271C0E899@microsoft.com...
> When I try to remove the hidden text from the doc, I succeed but it also
> takes away all my hard page returns. Is there a way to remove the hidden
> text
> and codes without changing the pagination?
> Thanks