teehee, you never assigned the result of the msgbox to the variable

VB Code:
  1. If (MsgBox("You wanna quit, huh?", vbYesNo) = vbYes) Then
  2.   End
  3. End If

works nicer i think