Share via


AutoCorrectEntry.Value Property

Word Developer Reference

Returns or sets the value of the AutoCorrect entry. Read/write String.

Syntax

expression.Value

expression   Required. A variable that represents an AutoCorrectEntry object.

Remarks

The Value property only returns the first 255 characters of the object's value.

Example

This example creates an AutoCorrect entry and then displays the value of the new entry.

Visual Basic for Applications
  AutoCorrect.Entries.Add Name:="i.e.", Value:="that is"
MsgBox AutoCorrect.Entries("i.e.").Value

See Also