Returns the title of the Application window or Window object.
Syntax
stringVariable = object.Caption
where:
stringVariable is a variable for storing the contents of the Caption.
object is the Application or Window object.
Examples ...
Caption property example