This documentation is archived and is not being maintained.

Workbook.Application Property

Gets an Microsoft.Office.Interop.Excel.Application that represents the creator of the workbook.

Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in microsoft.office.tools.excel.dll)

public virtual Application Application { get; }

Property Value

An Microsoft.Office.Interop.Excel.Application that represents the creator of the workbook.

The following code example uses the Application property to display the name of the application that created the current workbook.

private void DisplayApplicationName()
{
    MessageBox.Show("The creator of this workbook is: " + 
        this.Application.Name);
}

Show: