printing with code

  • Thread starter Thread starter Russ
  • Start date Start date
R

Russ

I would like to have a command button at the bottom of my document that will
when clicked will print 3 copies of the document but only certain sections,
ie s2, s4-8

is this possible?
thanks,
 
I would like to have a command button at the bottom of my document
that will when clicked will print 3 copies of the document but only
certain sections, ie s2, s4-8

is this possible?
thanks,

Yes. Research macros.
 
The following macro will print three copies of sections 2,4,5,6,7 & 8 to the
currently active printer.

Sub PrintARange()
Application.PrintOut Range:=wdPrintRangeOfPages, Item:= _
wdPrintDocumentContent, Copies:=3, Pages:="s2,s4-s8"
End Sub

http://www.gmayor.com/installing_macro.htm


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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

Back
Top