Pages Interface

A collection of pages in a document. Use the Pages collection and the related objects and properties for programmatically defining page layout in a workbook.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
<GuidAttribute("000244A3-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface Pages _
    Inherits IEnumerable
'Usage
Dim instance As Pages
[GuidAttribute("000244A3-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface Pages : IEnumerable

Remarks

Use the Pages property to return a Pages collection.

Use the Item[Object] property to access an individual Pageobject that represents an individual page in a worksheet. The following example accesses the first page in the active worksheet.

See Also

Reference

Pages Members

Microsoft.Office.Interop.Excel Namespace