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

Returns an _Application object that represents the Microsoft Excel application.

AutoExpandListRange

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

AutoFillFormulasInLists

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

CapitalizeNamesOfDays

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

CorrectCapsLock

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

CorrectSentenceCap

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

Creator

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

DisplayAutoCorrectOptions

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

Parent

Returns the parent object for the specified object.

ReplacementList[Object]

Returns the array of AutoCorrect replacements.

ReplaceText

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

TwoInitialCapitals

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

Methods

AddReplacement(String, String)

Adds an entry to the array of AutoCorrect replacements.

DeleteReplacement(String)

Deletes an entry from the array of AutoCorrect replacements.

Applies to