AllowAutoCorrect Property

AllowAutoCorrect Property

See Also                  Applies To

You can use the AllowAutoCorrect property to specify whether a text box or a combo box control will automatically correct entries made by the user.

Setting

The AllowAutoCorrect property uses the following settings.

Setting Visual Basic Description
Yes True (–1) (Default) Entries are automatically corrected according to the settings in the AutoCorrect dialog box.
No False (0) Entries aren't corrected.

You can set the AllowAutoCorrect property by using a control's property sheet, a macro, or Visual Basic. You can set the default for this property by using a control's default control style or the DefaultControl method in Visual Basic.

Remarks

The AutoCorrect dialog box is available by clicking AutoCorrect on the Tools menu.