TextRange2.ChangeCase Method (Office)

Changes the case of a TextRange2 object to one of the values in the MsoTextChangeCase enumeration.

Syntax

expression .ChangeCase(Type)

expression An expression that returns a TextRange2 object.

Parameters

Name

Required/Optional

Data Type

Description

Type

Required

MsoTextChangeCase

Specifies the type of change to make to the text.

Remarks

Examples of MsoTextChangeCase enumeration include msoCaseLower, msoCaseUpper, and msoCaseTitle.

See Also

Concepts

TextRange2 Object

TextRange2 Object Members