Description
Returns the text for the title bar of the application window.
Property type
Read-only property
Syntax
Visual Basic |
---|
Public Property Caption As String |
Example
The following example demonstrates how to return the Application property.
Private Sub CaptionPropExample()
Dim myCaption As String
myCaption = Application.Caption
MsgBox ("Caption is: " & myCaption)
End Sub