CustomView Object

Excel Developer Reference

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."

Visual Basic for Applications
  ThisWorkbook.CustomViews("Current Inventory").Show

See Also