Overtype Property

Applies To

Options object.

Description

True if overtype mode is active. In overtype mode, the characters you type replace existing characters one by one. When overtype isn't active, the characters you type move existing text to the right. Read/write Boolean.

See Also

Flags property, ReplaceSelection property.

Example

If overtype mode is active, this example displays a message box asking whether overtype should be deactivated. If the user clicks the Yes button, overtype mode is made inactive.

If Options.Overtype = True Then 
    aButton = MsgBox("Overtype is on. Turn off?", 4) 
    If aButton = vbYes Then Options.Overtype = False
End If