Application.Caption Property (Excel)

Returns or sets a String value that represents the name that appears in the title bar of the main Microsoft Excel window.

Syntax

expression .Caption

expression A variable that represents an Application object.

Remarks

If you don't set a name, or if you set the name to Empty, this property returns "Microsoft Excel".

Example

This example sets the name that appears in the title bar of the main Microsoft Excel window to be a custom name.

Application.Caption = "Blue Sky Airlines Reservation System"

See Also

Concepts

Application Object

Application Object Members