Overtype 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