Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
Syntax
'Declaration
Public ReadOnly Property Application As Application
public Application Application { get; }
Property Value
Type: Microsoft.Office.Interop.Excel.Application
A Microsoft.Office.Interop.Excel.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 Sub TileApplicationWindows()
Me.Application.Windows.Arrange(Excel.XlArrangeStyle.xlArrangeStyleTiled)
End Sub
private void TileApplicationWindows()
{
this.Application.Windows.Arrange(Excel.XlArrangeStyle.xlArrangeStyleTiled);
}
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.