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
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