Print Current Page Macro in Word 2000

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

Guest

I have a macro set up that is accessed through our network by all Word users.
Some users are still using Word 97 while others are using Word 2000. The
code I have set up is as follows:
ActiveDocument.PrintOut Range:=wdPrintCurrentPage
This works fine for those using Word 97 but does for Word 2000 it prints all
pages.
I have also tried
ActiveDocument.PrintOut Range:=2 and
ActiveDocument.Print Out Range:=Word.WdPrintOutRange.wdPrintCurrentPage
Both work for 97 but 2000 still prints out all pages. Any ideas?
 
Application.PrintOut Range:=wdPrintCurrentPage, Item:= _
wdPrintDocumentContent, Copies:=1, PageType:=wdPrintAllPages, _
Background:=False, PrintToFile:=False

works just nice for many years. I can't remember but it looks like it is
recorded macro, btw.

Jules wrote
 
You could try
Application.PrintOut Range:=wdPrintCurrentPage
as opposed to
ActiveDocument.PrintOut Range:=wdPrintCurrentPage
which has worked with both Word versions (and later) here, but I suspect it
is more likely to be a printer driver issue that is causing the hiccup. Word
is a slave to the printer driver. See if there's an update for those
machines causing problems.

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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Thanks Graham. Tried the Application.PrintOut etc. Still didnt' work.
You're probably right and it is the printer drivers.
 
Thanks Andra, tried this but didn't work. It is probably the printer drivers.
 

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