Share via


PromptString Property [Excel 2003 VBA Language Reference]

Returns the phrase that prompts the user for a parameter value in a parameter query. Read-only String.

Example

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

With Worksheets(1).QueryTables(1).Parameters(1)
    .SetParam xlPrompt, "Please " & .PromptString
End With

Applies to | Parameter Object