Print Area

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

If you go into Word to the page then go to file click on print , current page, then OK it should only click the page you are on.
 
Plan B

Add a custom toolbar to the form and use it to call the following macro:

Sub PrintPage()
Application.PrintOut Range:=wdPrintCurrentPage
End Sub


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

Web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
 
Use
ActiveDocument.PrintOut Range:=wdPrintFromTo, From:="2", To:="2"
to print page 2
As for the toolbar, did you save it in the form or in the default template?
The toolbar needs to go with the document or the template that holds it
needs to be available on the remote machine.

See http://www.gmayor.com/installing_macro.htm and
http://www.gmayor.com/Template_Locations.htm

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

Web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
 
I saved the toolbar to the form not the template, but this error seemed to happen in only one computer. I tried opening the doc in yet someone else's PC and the problem is that before opening the individual has to click on "Always Trust Content from this Source" and then hit enable macros. I think what is happening is that I had to digitally sign the macro, which I also figured out how to do on my own. But that is affecting how others open the file. My thing is that I am probably one of the 10% that is computer saavy in this company (not counting the Systems Dept.). I am afraid that the other 90% will not know what to do when they see this screen.

Thanks again for all your help

----- Graham Mayor wrote: ----

Us
ActiveDocument.PrintOut Range:=wdPrintFromTo, From:="2", To:="2
to print page
As for the toolbar, did you save it in the form or in the default template
The toolbar needs to go with the document or the template that holds i
needs to be available on the remote machine

See http://www.gmayor.com/installing_macro.htm an
http://www.gmayor.com/Template_Locations.ht

--
<>><><<>><<><>><><<><>><<>><><<
Graham Mayor - Word MV

Web site www.gmayor.co
Word MVP web site www.mvps.org/wor
<>><><<>><<><>><><<><>><<>><><<



GeeGee wrote
 

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