Name

InputBox Function — Microsoft.VisualBasic.Interaction

Synopsis

InputBox(prompt[, title] [, defaultresponse] [, xpos] _
    [, ypos])
prompt required; String

The message in the dialog box

title optional; String

The title bar of the dialog box

defaultresponse optional; String

String to be displayed in the text box on loading

xpos optional; Numeric

The distance in twips from the left-hand side of the screen to the left-hand side of the dialog box

ypos optional; Numeric

The distance in twips from the top of the screen to the top of the dialog box

Return Value

A String containing the contents of the text box from the InputBox dialog box

Description

Displays a dialog box containing a prompt for the user, a text box for entering data, and an OK, a Cancel, and (optionally) a Help button. When the user clicks OK, the function returns the contents of the text box.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset