Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom Print Form error

Status
Not open for further replies.

asjeff

Programmer
Oct 8, 2001
107
GB
I have a custom print form in MS Word (Office 2000) that allows the user to select some options. The form then sets the printer trays depending on the option chosen and then prints, for example:

With ActiveDocument.PageSetup
.FirstPageTray = wdPrinterUpperBin
.OtherPagesTray = wdPrinterLargeCapacityBin
End With
(etc)


The problem is that with certain documents this produces error 4608 - Value out of Range, which refuses to allow the printer trays to be set as required. This seems to happen with documents that have had pages cut and pasted into them from another document, but I seem unable to reset these values so the document is printed on the required tray.

Has anyone else come across this or do you know of a fix for it?

Much obliged

Asjeff

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top