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 the MsoTextChangeCase enumeration include msoCaseLower, msoCaseUpper, and msoCaseTitle.
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.