Caption property

Examples


The Caption property specifies the window’s title that’s displayed to the user.

Syntax

window.Caption [= string]

Parameters

window – A window object.

string – The window’s caption.

Comments

Captions for data entry windows cannot exceed 80 characters. You cannot change the caption for modal dialogs.

Windows modified using the Modifier include a period (.) at the beginning of the window’s caption. Windows that invoke VBA events include a period at the end of the window’s caption. These are visual indicators that help technical support ascertain which windows you’ve modified. We recommend you leave the period in the window’s title.


Documentation Feedback