CustomView Object (Excel)
Represents a custom workbook view.
Remarks
The CustomView object is a member of the CustomViews collection.
Example
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