ActiveDocument.PageSetup.FirstPageTray and Office 2007 SP2

L

Lasse

Hi

We are currenlty getting Office 2007 Service Pack2 deployed on all our
client computers. I have encountered a problem after the installation of SP2
with one of our Word 2007 templates.
We have a document containing 3 sections and I have created a macro that
makes some changes to the document and then prints it. In my macro I have the
following code, but after SP2 was installed it doesn't accept it and returns
a debug error:
ActiveDocument.PageSetup.FirstPageTray = wdPrinterDefaultBin
ActiveDocument.PageSetup.OtherPagesTray = wdPrinterDefaultBin

I have investigated the problem and if I jump to each section and changes
the printer bin it works, but why can't I change the printer bins with the
above code?

/Lasse
 
M

Mr. Mikkelsen

Hi Lasse.

I have the exact same problem.
I'm using a macro that print out two copies of a document on 2 different
printers, to have a copy of the document and an original one, and one on the
company business paper.
Same thing...

" With ActiveDocument.PageSetup
.FirstPageTray = wdPrinterDefaultBin
.OtherPagesTray = wdPrinterDefaultBin
End With "

Ends up with " Run-time error '4608 "
Worked fine before I installed SP2 for office...
Anyone have a clue why this won’t work?
I’ve tried with ‘wdPrinter’ properties, but same thing happens.
Looks like the .FirstPageTray and the .OtherPageTray doesn’t work anymore…

Can anyone help, please?

Kind Regards.
Mr. Mikkelsen.
 
M

Mr. Mikkelsen

Hi Doug.

Nice, it worked for me after installing this hotfix!
Thanks a lot… :)
 

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