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. 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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.