一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

MSGBOX返回值

时间:2022-11-14 23:39:12 编辑:袖梨 来源:一聚教程网

MsgBox Function
Displays a message in a dialog box, waits for the user to click a button, and returns a value indicating which button the user clicked.
MsgBox(prompt[, buttons][, title][, helpfile, context])
Arguments
prompt
String expression displayed as the message in the dialog box. The maximum length of prompt is approximately 1024 characters, depending on the width of the characters used. If prompt consists of more than one line, you can separate the lines using a carriage return character (Chr(13)), a linefeed character (Chr(10)), or carriage return

热门栏目