AllowAutoCorrect Property

Applies To

Combo Box control, Text Box control.

Description

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

Description

Visual Basic

Yes

(Default) Entries are automatically corrected according to the settings in the AutoCorrect dialog box.

True (–1)

No

Entries aren't corrected.

False (0)


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.

See Also

DefaultControl method.