Skip to content

Latest commit

 

History

History
55 lines (32 loc) · 1.1 KB

Excel.Parameters.Item.md

File metadata and controls

55 lines (32 loc) · 1.1 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Parameters.Item method (Excel)
vbaxl10.chm525075
vbaxl10.chm525075
Excel.Parameters.Item
66db6a11-b0e3-4417-0589-b0085f67c77a
05/03/2019
medium

Parameters.Item method (Excel)

Returns a single object from a collection.

Syntax

expression.Item (Index)

expression A variable that represents a Parameters object.

Parameters

Name Required/Optional Data type Description
Index Required Variant The name or index number for the object.

Return value

A Parameter object contained by the collection.

Remarks

The text name of the object is the value of the Name and Value properties.

Example

This example modifies the parameter prompt string.

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

[!includeSupport and feedback]