WorksheetBase.Application Property

 

Gets a Microsoft.Office.Interop.Excel.Application object that represents the Microsoft Office Excel application.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

public Application Application { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.Application

A Microsoft.Office.Interop.Excel.Application that represents the Excel application.

The following code example uses the Application property to rearrange the application windows.

This example is for a document-level customization.

private void TileApplicationWindows()
{
    this.Application.Windows.Arrange(Excel.XlArrangeStyle.xlArrangeStyleTiled);
}
Return to top
Show: