XlPageOrientation Enumeration (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Specifies the page orientation when the worksheet is printed.

Name

Value

Description

xlLandscape

2

Landscape mode.

xlPortrait

1

Portrait mode.

Show: