SheetViews Object

Excel Developer Reference

A collection of all the sheet views in the specified or active workbook window.

Version Information
 Version Added:  Excel 2007

Example
The following example will return the view count of the active window.

Visual Basic for Applications
  ActiveWindow.SheetViews.Count

See Also