Compartir a través de


Watches Interface

A collection of all the Watch objects in a specified application.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("00024456-0000-0000-C000-000000000046")> _
Public Interface Watches _
    Inherits IEnumerable
'Usage
Dim instance As Watches
[InterfaceTypeAttribute()]
[GuidAttribute("00024456-0000-0000-C000-000000000046")]
public interface Watches : IEnumerable

Remarks

Use the Watches property of the Application object to return a Watches collection.

You can specify to remove individual cells from the watch facility by using the Delete method of the Watches collection.

You can also specify to remove all cells from the Watch Window, by using the Delete method of the Watches collection.

See Also

Reference

Watches Members

Microsoft.Office.Interop.Excel Namespace