Sunday, July 13, 2008
Ap Bio Lab Cell Respiration Questions
The MsgBox function
I think some examples we use in this function ... but it is better than knowledge to be missing.
This function will display a dialog with the user may interact.
The syntax has 5 arguments
Example -------
Msgbox (prompt [, buttons] [, title] [helpfile, context])
* the brackets are optional arguments
- prompt: The message displayed instantly in the box.
-Buttons: Indicators to buttons and icons appear.
-Title: By default, Excel will appear in the case is not showing any.
-Helpfile: The name of the help file associated with the dialog
-Context: Represents a help topic
'------------------
-------------- Sub ejemplo_msgboxvba () MsgBox
"! Action not allowed !...", vbCritical," Caution "
res = MsgBox (" Continue? ", _ VbYesNo + vbQuestion
," Price List ") End Sub
* If yes the value of the variable res 6
will otherwise be in the 7
Subscribe to:
Posts (Atom)