Page Object (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.

Represents a page in a workbook. Use the PageSetup object and the related methods and properties for programmatically defining page layout in a workbook.

Use the Item method to access a specific page in a workbook. The following example accesses the first page in the active workbook.

Dim objPage As Page 
 
Set objPage = ActiveWorkbook.ActiveWindow _ 
 .Panes(1).Pages.Item(1)
Show: