Anyone have a pointer as to how I can delete all text in a word 2000
header?
I tried this within a for each and while it works, it also seems to
make the doc always open in Normal mode. The docs usually open in
preview mode. Keep normal mode no matter what. Strange.
hdrHeader.Range.Select
hdrHeader.Range.Text = ""
Then I've tried setting the text to white so that it doesn't show:
hdrHeader.Range.Font.Color = wdColorWhite
But that only works on some machines.
thanks
Jay Freedman - 01 Aug 2005 22:19 GMT
There's no reason to select the range before you set its text -- throw away
the first line and just keep the second one.

Signature
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
> Anyone have a pointer as to how I can delete all text in a word 2000
> header?
[quoted text clipped - 13 lines]
>
> thanks
m.cranbrook@gmail.com - 02 Aug 2005 01:01 GMT