Range.ConvertHangulAndHanja method (Word)

Converts the specified range from hangul to hanja or vice versa.


expression. ConvertHangulAndHanja( _ConversionsMode_ , _FastConversion_ , _CheckHangulEnding_ , _EnableRecentOrdering_ , _CustomDictionary_ )

expression Required. A variable that represents a Range object.


Name Required/Optional Data type Description
ConversionsMode Optional Variant Sets the direction for the conversion between hangul and hanja. Can be either of the following WdMultipleWordConversionsMode constants: wdHangulToHanja or wdHanjaToHangul. The default value is the current value of the MultipleWordConversionsMode property.
FastConversion Optional Variant True if Microsoft Word automatically converts a word with only one suggestion for conversion. The default value is the current value of the HangulHanjaFastConversion property.
CheckHangulEnding Optional Variant True if Word automatically detects hangul endings and ignores them. The default value is the current value of the CheckHangulEndings property. This argument is ignored if the ConversionsMode argument is set to wdHanjaToHangul.
EnableRecentOrdering Optional Variant True if Word displays the most recently used words at the top of the suggestions list. The default value is the current value of the EnableHangulHanjaRecentOrdering property.
CustomDictionary Optional Variant The name of a custom hangul-hanja conversion dictionary. Use this argument to use a custom dictionary with hangul-hanja conversions not contained in the main dictionary.


This example converts the current selection from hangul to hanja.

Selection.Range.ConvertHangulAndHanja _ 
 ConversionsMode:=wdHangulToHanja, _ 
 FastConversion:=True, _ 
 EnableRecentOrdering:= 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.