Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1020 Bytes

Excel.SpellingOptions.UserDict.md

File metadata and controls

43 lines (26 loc) · 1020 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
SpellingOptions.UserDict property (Excel)
vbaxl10.chm717074
vbaxl10.chm717074
Excel.SpellingOptions.UserDict
8816b44e-98e5-8829-cb6e-af4ac4040838
05/16/2019
medium

SpellingOptions.UserDict property (Excel)

Instructs Microsoft Excel to create a custom dictionary to which new words can be added when performing spelling checks on a worksheet. Read/write String.

Syntax

expression.UserDict

expression A variable that represents a SpellingOptions object.

Example

This example instructs Excel to create a custom dictionary called Custom1.dic in the spelling options feature and notifies the user.

Sub SpecialWord() 
 
 Application.SpellingOptions.UserDict = "Custom1.dic" 
 MsgBox "The custom dictionary is currently set to: " _ 
 & Application.SpellingOptions.UserDict 
 
End Sub

[!includeSupport and feedback]