Window.WindowNumber Property

Definition

Returns the window number. For example, a window named "Book1.xls:2" has 2 as its window number. Most windows have the window number 1.

public:
 property int WindowNumber { int get(); };
public int WindowNumber { get; }
Public ReadOnly Property WindowNumber As Integer

Property Value

Remarks

The window number isn't the same as the window index (the return value of the Index property), which is the position of the window within the Windows collection.

Applies to