Page Object
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

Page Object

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

Version Information
 Version Added:  Excel 2007

Remarks

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

Visual Basic for Applications
Dim objPage As Page

Set objPage = ActiveWorkbook.ActiveWindow _
    .Panes(1).Pages.Item(1)



Show:
© 2016 Microsoft