Share via


TextRange2.ChangeCase Method

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

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Sub ChangeCase ( _
    Type As MsoTextChangeCase _
)
'Usage
Dim instance As TextRange2
Dim Type As MsoTextChangeCase

instance.ChangeCase(Type)
void ChangeCase(
    MsoTextChangeCase Type
)

Parameters

Remarks

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

See Also

Reference

TextRange2 Interface

TextRange2 Members

Microsoft.Office.Core Namespace