Expand Minimize

Options.DefaultTray Property (Word)

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

expression .DefaultTray

expression A variable that represents a Options object.

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.

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
Show:
© 2014 Microsoft