About msgbox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nidhi shah
    New Member
    • Jun 2011
    • 5

    About msgbox

    i have written following statements in vb...

    ans = MsgBox("save or not?", vbQuestion + vbYesNo, "save")
    MsgBox ("ans:" & ans)

    after running the form if i pressed yes it return 6.
    if i pressed no it return 7.
    why?
    what is the reason behind this unique number?
Working...