message box excel vba ok code example Example: message box VBA MsgBox "My Message", vbYesNo/vbMsgBox, "My Title"