編輯

共用方式為


_Application.CheckSpelling(String, Object, Object) Method

Definition

Checks the spelling of a single word. Returns True if the word is found in one of the dictionaries; returns False if the word isn't found.

public bool CheckSpelling (string Word, object CustomDictionary, object IgnoreUppercase);
Public Function CheckSpelling (Word As String, Optional CustomDictionary As Object, Optional IgnoreUppercase As Object) As Boolean

Parameters

Word
String

Required String. The word you want to check.

CustomDictionary
Object

Optional Object. A string that indicates the file name of the custom dictionary to be examined if the word isn't found in the main dictionary. If this argument is omitted, the currently specified dictionary is used.

IgnoreUppercase
Object

Optional Object. True to have Microsoft Excel ignore words that are all uppercase. False to have Microsoft Excel check words that are all uppercase. If this argument is omitted, the current setting will be used.

Returns

Applies to