CustomView Object (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a custom workbook view.

The CustomView object is a member of the CustomViews collection.

Use CustomViews(index), where index is the name or index number of the custom view, to return a CustomView object. The following example shows the custom view named "Current Inventory."

ThisWorkbook.CustomViews("Current Inventory").Show
Show:
© 2016 Microsoft