Caption Property [Window]

 

The Caption property returns the caption of the window. Returns a string. This is the default Window object property.

 

Syntax

object.Caption

 

Example

This example returns the caption for a window.

 

Debug.Print Window.Caption

 

Used by: Window object