Upravit

Sdílet prostřednictvím


Application.HangulHanjaDictionaries property (Word)

Returns a HangulHanjaConversionDictionaries collection that represents all the active custom conversion dictionaries.

Syntax

expression. HangulHanjaDictionaries

expression A variable that represents an Application object.

Remarks

Active custom conversion dictionaries are marked with a check in the Custom Dictionaries dialog box. Click Options, click the Spelling & Grammar tab, and then click the Custom Dictionaries button.

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

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

See also

Application 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.