How to extract header text?

D

dennis

I have a requirement to save a file as a text file. This I
can do, but the header that's in the DOC doesn't port over
to the TXT file. How can I "extract" this text (via VBA if
necessary) and insert it into the TXT file?

Thanks!
 
G

Graham Mayor

You can't have headers in plain text document, so the only option is to
print to file with the generic text printer driver which will 'print' the
full document c/w formatting. You will get some odd results unless the
document is formatted to the abilities of that driver re fonts, margins etc.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
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.

Ask a Question

Top