Pages object (Outlook Forms Script)

Represents all the pages of a MultiPage.

Remarks

Each Pages collection provides the features to manage the number of pages in the collection and to identify the page that is currently in use.

The default value of the Pages collection identifies the current Page of a collection.

Reference a Page by its index value. The index value reflects the ordinal position of the Page within the collection. The index of the first Page in a collection is 0; the index of the second Page is 1; and so on.

Methods

Name Description
Add Adds a Page to a Pages collection.
Clear Removes pages from the collection.
Item Returns a member of a collection, either by position or by name.
Remove Removes a member from a collection.

Properties

Name Description
Count Returns a Long that represents the number of objects in a collection. Read-only.

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.