Page object (Excel)
Represents a page in a workbook. Use the Page object and the related methods and properties for programmatically defining page layout in a workbook.
Use the Item property 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)
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.