HangulHanjaDictionaries Property

Microsoft Word Visual Basic

HangulHanjaDictionaries Property

       

Returns a HangulHanjaConversionDictionaries collection that represents all the active custom conversion dictionaries. Active custom conversion dictionaries are marked with a check in the Custom Dictionaries dialog box (on the Tools menu, click Options, then click the Spelling & Grammar tab, and then click the Custom Dictionaries button).

expression.HangulHanjaDictionaries

expression   Required. An expression that returns one of the objects in the Applies To list.

Remarks

For information about returning a single member of a collection, see Returning an Object from a Collection.

For more information on using Microsoft Word with Asian languages, see Word features for Asian languages.

Example

This example adds a new, blank custom dictionary to the collection. The path and file name of the new custom dictionary are then displayed in a message box.

Set myHome = _
    HangulHanjaDictionaries.Add(Filename:="Home.hhd")
Msgbox myHome.Path & Application.PathSeparator _
    & myHome.Name

This example deactivates all custom dictionaries but does not delete the custom dictionary files.

HangulHanjaDictionaries.ClearAll

This example displays the name of each custom dictionary in the collection.

For Each di In HangulHanjaDictionaries
    MsgBox di.Name
Next di