Megosztás a következőn keresztül:


Workbook.Application Property (2007 System)

Gets an Application that represents the creator of the workbook.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Application As Application
'Usage
Dim instance As Workbook 
Dim value As Application 

value = instance.Application
[BrowsableAttribute(false)]
public Application Application { get; }
[BrowsableAttribute(false)]
public:
property Application^ Application {
    Application^ get ();
}
public function get Application () : Application

Property Value

Type: Application
An Application that represents the creator of the workbook.

Examples

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

This example is for a document-level customization.

Private Sub DisplayApplicationName()
    MsgBox("The creator of this workbook is: " & _
        Me.Application.Name)
End Sub
private void DisplayApplicationName()
{
    MessageBox.Show("The creator of this workbook is: " +
        this.Application.Name);
}

.NET Framework Security

See Also

Reference

Workbook Class

Workbook Members

Microsoft.Office.Tools.Excel Namespace