AutoCorrect AutoCorrect AutoCorrect Interface

Definition

Contains Microsoft Excel AutoCorrect attributes (capitalization of names of days, correction of two initial capital letters, automatic correction list, and so on).

public interface class AutoCorrect
[System.Runtime.InteropServices.Guid("000208D4-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface AutoCorrect
Public Interface AutoCorrect
Attributes

Remarks

Use the AutoCorrect property to return the AutoCorrect object.

Properties

Application Application Application

Returns an _Application object that represents the Microsoft Excel application.

AutoExpandListRange AutoExpandListRange AutoExpandListRange

A Boolean value indicating whether automatic expansion is enabled for lists.

AutoFillFormulasInLists AutoFillFormulasInLists AutoFillFormulasInLists

Affects the creation of calculated columns created by automatic fill-down lists. Read/write Boolean.

CapitalizeNamesOfDays CapitalizeNamesOfDays CapitalizeNamesOfDays

True if the first letter of day names is capitalized automatically.

CorrectCapsLock CorrectCapsLock CorrectCapsLock

True if Microsoft Excel automatically corrects accidental use of the CAPS LOCK key.

CorrectSentenceCap CorrectSentenceCap CorrectSentenceCap

True if Microsoft Excel automatically corrects sentence (first word) capitalization.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which this object was created.

DisplayAutoCorrectOptions DisplayAutoCorrectOptions DisplayAutoCorrectOptions

Allows the user to display or hide the AutoCorrect Options button. The default value is True.

Parent Parent Parent

Returns the parent object for the specified object.

ReplacementList[Object] ReplacementList[Object] ReplacementList[Object]

Returns the array of AutoCorrect replacements.

ReplaceText ReplaceText ReplaceText

True if text in the list of AutoCorrect replacements is replaced automatically.

TwoInitialCapitals TwoInitialCapitals TwoInitialCapitals

True if words that begin with two capital letters are corrected automatically.

Methods

AddReplacement(String, String) AddReplacement(String, String) AddReplacement(String, String)

Adds an entry to the array of AutoCorrect replacements.

DeleteReplacement(String) DeleteReplacement(String) DeleteReplacement(String)

Deletes an entry from the array of AutoCorrect replacements.

Applies to