Panes Interface

A collection of all the Pane objects shown in the specified window.

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

public interface Panes

Pane objects exist only for worksheets and Microsoft Excel 4.0 macro sheets.

Use the Panes property to return the Panes collection.

Use Panes(index), where index is the pane index number, to return a single Pane object.