WinInputBox Function

Shows a modal dialog box to receive input from the user.

Syntax

WinInputBox (Prompt As String, [Title As String], [Default As String]) As String 
Parameters
Name Description

Prompt

Body text of the dialog.

Title

Title bar text of the dialog.

Default

Default input text of the dialog.

Remarks

Not available in PowerWeb. The Prompt text can be formatted, as described in Formatting Text With RTF Codes. To detect if the user clicked the Cancel button, test the returned value for an empty string ("").

2023