Application.AutoCorrect Property
Word Developer Reference |
Returns an AutoCorrect object that contains the current AutoCorrect options, entries, and exceptions. Read-only.
Syntax
expression.AutoCorrect
expression A variable that represents an Application object.
Example
This example adds an AutoCorrect replacement entry. After this code runs, every instance of "sr" that's typed in a document will automatically be replaced with "Stella Richards."
Visual Basic for Applications |
---|
|
This example deletes the specified AutoCorrect entry it if it exists.
Visual Basic for Applications |
---|
|
See Also