Rediger

Del via


Range.TCSCConverter method (Word)

Converts the specified range from Traditional Chinese to Simplified Chinese or vice versa.

Syntax

expression. TCSCConverter( _WdTCSCConverterDirection_ , _CommonTerms_ , _UseVariants_ )

expression Required. A variable that represents a Range object.

Parameters

Name Required/Optional Data type Description
WdTCSCConverterDirection Optional WdTCSCConverterDirection Specifies the direction in which text is converted. If omitted, the default value is wdTCSCConverterDirectionAuto, which converts in the appropriate direction based on the detected language of the specified range.
UseVariants Optional Boolean True if Word uses Taiwan, Hong Kong SAR, and Macao SAR character variants. Can only be used if translating from Simplified Chinese to Traditional Chinese.

Example

This example converts the current selection from Simplified Chinese to Traditional Chinese. It converts common expressions intact and uses regional character variants.

Selection.Range.TCSCConverter _ 
 wdTCSCConverterDirectionSCTC, True, True

See also

Range Object

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.