CustomViews object (Excel)

A collection of custom workbook views.

Remarks

Each view is represented by a CustomView object.

Example

Use the CustomViews property of the Workbook object to return the CustomViews collection.

Use the Add method to create a new custom view and add it to the CustomViews collection. The following example creates a new custom view named "Summary."

ActiveWorkbook.CustomViews.Add "Summary", True, True

Methods

Properties

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.