Syntax

expression.PromptString

expression A variable that represents a Parameter object.

Example

This example modifies the parameter prompt string for query table one.

Visual Basic for Applications
With Worksheets(1).QueryTables(1).Parameters(1) .SetParam xlPrompt, "Please " & .PromptString End With
Get phrase that shows up when asking for query variable? prompt prompt string Prompt String Property PromptString PromptString Property Return prompt string used for asking user for parameter value in a parameter query?

See also: