Options.DefaultTray Property (Word)

Returns or sets the default tray your printer uses to print documents. Read/write String.

Syntax

expression .DefaultTray

expression A variable that represents a Options object.

Remarks

When setting this property, you must specify a string found in the Default tray box on the Print tab in the Options dialog box. You can use the DefaultTrayID property and specify a WdPaperTray constant to set this same option.

Example

This example sets Word up to use the lower print tray.

Options.DefaultTray = "Lower tray"

This example returns the string found in the Default tray box on the Print tab in the Options dialog box.

Msgbox Options.DefaultTray

See Also

Concepts

Options Object Members

Options Object