ebAbortRetryIgnore (constant)

Description

Used by the MsgBox statement and function.

Comments

This constant is equal to 2.

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).

More information

E