Compartilhar via


_Application.Caption Property

The name that appears in the title bar of the main Microsoft Excel window. If you don't set a name, or if you set the name to Empty, this property returns "Microsoft Excel".

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property Caption As String
    Get
    Set
'Usage
Dim instance As _Application
Dim value As String

value = instance.Caption

instance.Caption = value
string Caption { get; set; }

Property Value

Type: System.String

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace