Ok i made a msgbox like this.
Private Sub Command1_Click()
MsgBox "Are you sure you want to exit?", vbQuestion + vbYesNo, "Exit?"
So when i clcik cmd 1 that comes up with the yes or no option. How can i make it so that when no is clicked nothing happens and when yes is clicked it exicutes the unload me command?
Sorry if this is basic but i'm a newbie
Thanks in advance