Print Macro Problem

C

CJP

We have a problem in that if you have a 2 page document on screen in print
layout view showing the top of the first page but with the cursor in the
second page and we then click on the print macro it prints the first page.
If we scroll so that only the 2nd page is in view on the screen and use the
same macro it prints the 2nd page fine. (the macro is a very very basic
print current page nothing special)

We have tested this on 10 machines and it has the same fault on 8 of them
but we can not work out what the difference is or why it happens. It is not
a macro problem as the same macro does work on 2 of the other computers with
both pages in view on screen.

Has anyone ever come across this problem before of indeed any assistance
would be greatly appreciated.

Thanks in advance.
 
E

Ed

Hi CJP,

I don't know what causes this behaviour but a possible work-around if
required seems to be to replace
Range:=wdPrintCurrentPage
Pages:=""
in the Application.PrintOut command with
Range:=wdPrintRangeOfPages
Pages:=CStr(Selection.Information(wdActiveEndPageNumber)).

It seems to have worked for Tabasco Ed (no relation) from one of whose
replies I snaffled it, and (so far) it works for me.

Cheers.

Ed
 
C

CJP

Thanks ED

That seems to have fixed the problem, would be nice if Microsoft fixed the
bug though. Thanks again
 

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