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
Type
Type: Microsoft.Office.Core.MsoTextChangeCaseSpecifies the type of change to make to the text.
Remarks
Examples of MsoTextChangeCase enumeration include msoCaseLower, msoCaseUpper, and msoCaseTitle.