FirstPageTray Property

Microsoft Word Visual Basic

FirstPageTray Property

       

Returns or sets the paper tray to use for the first page of a document or section. Read/write WdPaperTray.

WdPaperTray can be one of these WdPaperTray constants.
wdPrinterAutomaticSheetFeed
wdPrinterDefaultBin
wdPrinterEnvelopeFeed
wdPrinterFormSource
wdPrinterLargeCapacityBin
wdPrinterLargeFormatBin
wdPrinterLowerBin
wdPrinterManualEnvelopeFeed
wdPrinterManualFeed
wdPrinterMiddleBin
wdPrinterOnlyBin
wdPrinterPaperCassette
wdPrinterSmallFormatBin
wdPrinterTractorFeed
wdPrinterUpperBin

expression.FirstPageTray

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets the tray to use for printing the first page of each section in the active document.

ActiveDocument.PageSetup.FirstPageTray = wdPrinterLowerBin

This example sets the tray to use for printing the first page of each section in the selection.

Selection.PageSetup.FirstPageTray = wdPrinterUpperBin