Bewerken

Delen via


Workbook.CustomViews property (Excel)

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

Syntax

expression.CustomViews

expression 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

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.