WorksheetBase.Application Property

Definition

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

public:
 property Microsoft::Office::Interop::Excel::Application ^ Application { Microsoft::Office::Interop::Excel::Application ^ get(); };
public Microsoft.Office.Interop.Excel.Application Application { get; }
member this.Application : Microsoft.Office.Interop.Excel.Application
Public ReadOnly Property Application As Application

Property Value

A Application that represents the Excel application.

Examples

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);
}
Private Sub TileApplicationWindows()
    Me.Application.Windows.Arrange(Excel.XlArrangeStyle.xlArrangeStyleTiled)
End Sub

Applies to