Page object

One page of a MultiPage and a single member of a Pages collection.

Remarks

Each Page object contains its own set of controls and does not necessarily rely on other pages in the collection for information. A Page inherits some properties from its container; the value of each inherited property is set by the container.

A Page has a unique name and index value within a Pages collection. Reference a Page by either its name or its index value. The index of the first Page in a collection is 0; the index of the second Page is 1; and so on. When two Page objects have the same name, you must reference each Page by its index value. References to the name in code will access only the first Page that uses the name.

The default name for the first Page is Page1; the default name for the second Page is Page2.

See also

Support and feedback

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.