Share via


Window.ActivePane Property

Returns a Pane object that represents the active pane in the window.

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

Syntax

'Declaration
ReadOnly Property ActivePane As Pane
    Get
'Usage
Dim instance As Window
Dim value As Pane

value = instance.ActivePane
Pane ActivePane { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.Pane

Remarks

This property can be used only on worksheets and macro sheets.

Use the Index property to obtain the index of the active pane.

See Also

Reference

Window Interface

Window Members

Microsoft.Office.Interop.Excel Namespace