AutoCorrect Object

Microsoft Graph Visual Basic

AutoCorrect Object

Application AutoCorrect

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

Using the AutoCorrect Object

Use the AutoCorrect property to return the AutoCorrect object. The following example sets Microsoft Graph to correct words that begin with two initial capital letters.

With myChart.Application.AutoCorrect
    .TwoInitialCapitals = True
    .ReplaceText = True
End With