Adding a message box in VBA
- to simple adding a Message Box for any prompt that you would like to inform the user
MsgBox ("HELLO WORLD")
- to add a input box for user's feedback like "username or password"
InputBox("Give me some input")
- to provide YES and NO condition for user to choose with question prompt
MsgBox("Are you sure you want to empty the sheet?", vbYesNo + vbQuestion, "Empty Sheet")
You may download a copy of example from the link below
MsgBox