Pages Pages 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.

public interface class Pages : System::Collections::IEnumerable
public interface Pages : System.Collections.IEnumerable
Public Interface Pages
Implements IEnumerable


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.


_Default[Object] _Default[Object] _Default[Object]

Reserved for internal use.

Count Count Count

Returns the number of objects in the collection. Read-only Integer.

Item[Object] Item[Object] Item[Object]

Returns a Page object that represents a collection of pages in a workbook. Read-only.


GetEnumerator() GetEnumerator() GetEnumerator()

Applies to