Partager via


Workbook.Windows Property

Gets a Microsoft.Office.Interop.Excel.Windows collection that represents all the windows in the workbook.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
ReadOnly Property Windows As Windows
Windows Windows { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.Windows
A Microsoft.Office.Interop.Excel.Windows collection that represents all the windows in the workbook.

Remarks

This property returns a collection of both visible and hidden windows.

.NET Framework Security

See Also

Reference

Workbook Interface

Microsoft.Office.Tools.Excel Namespace