MsgBox can return something based on the buttons the user clicks. If you
don't care what it is, use MsgBox "", If you do, =MsgBox("") returns it,
like:
Response = MsgBox("Click yes or no", vbYesNo)
Variable Response will now be 6 (vbYes, user clicked Yes), or 7 (vbNo, user
clicked no).
MsgBox Function
Displays a message in a dialog box, waits for the user to click a button, and
returns an Integer indicating which button the user clicked.