Overtype Property

Microsoft Word Visual Basic

expression.Overtype

expression    Required. An expression that returns an Options object.

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