ebAbort (constant)

Description Returned by the MsgBox function when the Abort button is chosen.
Comments This constant is equal to 3.
Example This example displays a dialog box with Abort, Retry, and Ignore buttons.
Sub Main()
Again:
  rc% = MsgBox("Do you want to continue?",ebAbortRetryIgnore)
  If rc% = ebAbort or rc% = ebIgnore Then
    End
  ElseIf rc% = ebRetry Then
    Goto Again
  End If
End Sub
See Also MsgBox (function); MsgBox (statement).