Print macro..again.

J

Jaydee

Further to my previous post:
I have templates where pages need to be printed to
different paper trays. Basically the first page to tray 2
(letterhead) and the other pages to tray 3 (plain paper).
Instead of setting the 'Page Setup' in the template
to 'first page/other pages', I do this via a simple
recorded macro. (The reasons for this are too complicated
to list here.) The margins, however, need to be set
differently for the first and subsequent pages. When I
record the macro and then view the VBA code, it sets the
margins in the entire document to that of the first page
that's printed on letterhead. How do I set up the
subsequent page margins in the macro and have the
document print to the appropriate trays as well?

I now find that some of the templates have page breaks
instead of section breaks to preserve headers etc. Can I
test to see if page or section breaks appear in the
document and then print accordingly?
 

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