This documentation is archived and is not being maintained.

CustomViews Property [Excel 2003 VBA Language Reference]

Office 2003

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

For more information about returning a single object from a collection, see Returning an Object from a Collection .


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

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

Applies to | Workbook Object