Displays a dialog box and message and waits for you to choose a button
[C++]
static int Alert(
const char* message_text,
unsigned short type_num = 2,
const char* help_ref = 0
);
Message_text is the message displayed in the dialog box.
Type_num is a number from 1 to 3 specifying which type of dialog box to display.
Help_ref is a reference to a custom online Help topic, in the form "filename! topic_number".
Zero if the function has been called successfully; non-zero
if the function could not be called.
See Error codes for a list
of return values.
See the Microsoft Excel on-line Help for full details about
this function.
Header: xlfuncs.h