CustomViews Property

Applies To

Workbook object.

Description

Returns a CustomViews collection that represents all the custom views for the workbook.

Example

This example creates a new custom view named "Summary" in the active workbook.

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