編輯

共用方式為


Watch Interface

Definition

Represents a range which is tracked when the worksheet is recalculated.

public interface class Watch
[System.Runtime.InteropServices.Guid("00024457-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface Watch
Public Interface Watch
Attributes

Remarks

The Watch object allows users to verify the accuracy of their models and debug problems they encounter. The Watch object is a member of the Watches collection.

Use the Add(Object) method or the Item[Object] property of the Watches collection to return a Watch object.

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.

Properties

Application

Returns an Application object that represents the Microsoft Excel application.

Creator

Returns a 32-bit integer that indicates the application in which this object was created.

Parent

Returns the parent object for the specified object.

Source

Returns the unique name that identifies the range which is tracked when the worksheet is recalculated.

Methods

Delete()

Deletes the object.

Applies to