GetInput

Displays a dialog with a text input box and returns the text entered. If canceled or nothing is entered, an empty string is returned.


Syntax

App.GetInput(Prompt)


Parameters


Prompt

String, input



The message string that is displayed on the dialog box.

Example

Sub Main()

MsgBox "You have entered:" & vbCrLf & vbCrLf & App.GetInput("Enter a text string:")

End Sub