Finding the very beginning of a Word document

G

Gerard

Hi,

I am writing a VBA macro that prints some documents. I want to include
commands for the printer using a PRINT field. Those commands must be sent to
the printer before the first byte of the Word document. I managed to do it
for most of my documents, by inserting the PRINT field in the document first
header.

Now I have a problem for a document that has several sections and different
headers / footers on the first page. I cannot find the place where to put my
commands, the first footer gets printed first. I wonder if there is a method
that will let me go to the very beginning of a Word document, including the
different sections and the headers and footers?

Thanks for any help.

Gerard.
 

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