Only print certain sections of a document in a form

T

tish

Hello

Apologies if this is in the wrong discussion group.

I'm modifying a word document that when protected will be used as a
form/template.

The document consists of 8 pages which the last 3 are guidelines. I want to
create some sort of print macro or script that forces the print option to not
print the last 3 pages.

Ideally I'd like to avoid macros or script as I'm not the best with them,
but i think this might be unavoidable. Any other suggestions would be
helpful.

thanks
tish
 
D

Doug Robbins - Word MVP

The following is the code that you would need in a macro to printout the
first five pages of the document

ActiveDocument.PrintOut Range:=wdPrintFromTo, From:="1", To:="5"

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - 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