Home Page (Objects) | Overview | FAQ | Reference
Applies to: TextSelection object
Changes the case of a selection.
Syntax
object.ChangeCase case
Parameters
object
An expression that evaluates to a TextSelection object.
case
A string constant of type DsCaseOptions that represents the case of the selection. Possible values are:
Example
The following example changes the case of the current selection to uppercase:
ActiveDocument.Selection.ChangeCase dsUppercase