InputBox (VBScript Function)
InputBox is a built in function in VBScript that is used to accept input from the user.
Function Details
InputBox(prompt [, title [, initvalue]])
Field | Description |
---|---|
prompt | The text that will prompt the user |
title | (optional parameter). The title of the Message Box. |
initvalue | (optional parameter). The Initial value that is to be placed in the input field |
return value | The value entered by the user. |
Code Snippet
Dim Name
Name = InputBox("Please enter your name")
page revision: 1, last edited: 19 May 2008 14:35