Prompt (Property)

Applies To:

Limit object

Description:

Returns or sets the value of the text displayed on the Limit dialog box.

Action:

Read-write, String

Example:

This example shows how to change the text displayed in a variable limit:

var MyLimit = ActiveDocument.Sections"Query"].Limits["State"]
MyLimit.VariableLimit = true
MyLimit.Prompt = "Please select a state from the list box below."