森林海
Displays a message in a dialog box, waits for the user to click a button, andreturns a value indicating which button the user clicked.MsgBox(prompt[, buttons][, title][, helpfile, context])ArgumentspromptString expression displayed as the message in the dialog box. The maximumlength of prompt is approximately 1024 characters, depending on the widthof the characters used. If prompt consists of more than one line, you canseparate the lines using a carriage return character (Chr(13)), alinefeed character (Chr(10)), or carriage return–linefeedcharacter combination (Chr(13) & Chr(10)) between eachline.buttonsNumeric expression that is the sum of values specifying the number and typeof buttons to display, the icon style to use, the identity of the defaultbutton, and the modality of the message box. See Settings section for values. Ifomitted, the default value for buttons is 0.titleString expression displayed in the title bar of the dialog box. If you omittitle, the application name is placed in the title bar.helpfileString expression that identifies the Help file to use to providecontext-sensitive Help for the dialog box. If helpfile is provided,context must also be provided. Not available on 16-bit platforms.contextNumeric expression that identifies the Help context number assigned by theHelp author to the appropriate Help topic. If context is provided,helpfile must also be provided. Not available on 16-bit platforms.