Remarks

The Parameter object is a member of the collection.

Example

Use (), where is the index number of the parameter, to return a single Parameterobject. The following example modifies the prompt string for parameter one.

Visual Basic for Applications
With Worksheets(1).QueryTables(1).Parameters(1) .SetParam xlPrompt, "Please " & .PromptString End With
Documentation on parameter object? parameter parameter object

See also:

index index