XlPageOrientation enumeration (Excel)

Specifies the page orientation when the worksheet is printed.

Name Value Description
xlLandscape 2 Landscape mode.
xlPortrait 1 Portrait mode.

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.