ebNo (constant)

Description

Returned by the MsgBox function when the No button is chosen.

Comments

This constant is equal to 7.

Example

This example asks a question and queries the user's response.

Sub Main()
  rc% = MsgBox("Do you want to update the glossary?",ebYesNo)
  If rc% = ebNo Then
    MsgBox "The user clicked 'No'."  'Don't update glossary.
  End If
End Sub

See Also

MsgBox (function); MsgBox (statement).

More information

E