Share via


AutoCorrect.CapitalizeNamesOfDays Property

Excel Developer Reference

True if the first letter of day names is capitalized automatically. Read/write Boolean.

Syntax

expression.CapitalizeNamesOfDays

expression   A variable that represents an AutoCorrect object.

Example

This example sets Microsoft Excel to capitalize the first letter of the names of days.

Visual Basic for Applications
  With Application.AutoCorrect
    .CapitalizeNamesOfDays = True
    .ReplaceText = True
End With

See Also