macro gives alert message in vba code example Example: message box VBA MsgBox "My Message", vbYesNo/vbMsgBox, "My Title"