Freigeben über


WorksheetBase.Application-Eigenschaft

Ruft ein Microsoft.Office.Interop.Excel.Application-Objekt ab, das die Anwendung Microsoft Office Excel darstellt.

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
    Get
public Application Application { get; }

Eigenschaftswert

Typ: Microsoft.Office.Interop.Excel.Application
Ein Microsoft.Office.Interop.Excel.Application-Element, das die Anwendung Excel darstellt.

Beispiele

Im folgenden Codebeispiel werden die Anwendungsfenster mithilfe der Application-Eigenschaft neu angeordnet.

Dieses Beispiel bezieht sich auf eine Anpassung auf Dokumentebene.

Private Sub TileApplicationWindows()
    Me.Application.Windows.Arrange(Excel.XlArrangeStyle.xlArrangeStyleTiled)
End Sub
private void TileApplicationWindows()
{
    this.Application.Windows.Arrange(Excel.XlArrangeStyle.xlArrangeStyleTiled,
        missing, missing, missing);
}

.NET Framework-Sicherheit

Siehe auch

Referenz

WorksheetBase Klasse

Microsoft.Office.Tools.Excel-Namespace