Share via


SpellingOptions.DictLang Property (Excel)

Selects the dictionary language used when Microsoft Excel performs spelling checks. Read/write Long.

Syntax

expression .DictLang

expression A variable that represents a SpellingOptions object.

Example

This example sets the Excel dictionary to use the English (United States) language.

Sub LanguageSpellCheck() 
 
 With Application.SpellingOptions 
 .DictLang = 1033 ' United States English language number. 
 .UserDict = "CUSTOM.DIC" 
 End With 
 
End Sub

See Also

Concepts

SpellingOptions Object

SpellingOptions Object Members