Share via


Workbook.CustomViews Property (Excel)

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

Syntax

.CustomViews

A variable that represents a Workbook object.

Example

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

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

참고 항목

개념

Workbook Object

Workbook Object Members