SheetViews Object (Excel)
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.
ActiveWindow.SheetViews.Count