Hide or delete text in header (word 2000)

M

m.cranbrook

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
 
J

Jay Freedman

There's no reason to select the range before you set its text -- throw away
the first line and just keep the second one.
 

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.

Ask a Question

Top