AutoCorrectEntry.Value property (Word)

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.

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

See also

AutoCorrectEntry Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.