Parameter MembersĀ 

Represents a single parameter used in a parameter query. The Parameter object is a member of the Parameters collection.

The following tables list the members exposed by the Parameter type.

Public Properties

  Name Description
Application Returns an Application object that represents the Microsoft Excel application. Read-only.
Creator Returns a 32-bit integer that indicates the application in which this object was created. If the object was created in Microsoft Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C. Read-only XlCreator.
DataType Returns or sets the data type of the specified query parameter. Read/write XlParameterDataType.
Name Returns or sets the name of the object. Read/write String.
Parent Returns the parent object for the specified object. Read-only.
PromptString Returns the phrase that prompts the user for a parameter value in a parameter query. Read-only String.
RefreshOnChange True if the specified query table is refreshed whenever you change the parameter value of a parameter query. Read/write Boolean.
SourceRange Returns a Range object that represents the cell that contains the value of the specified query parameter. Read-only.
Type Returns or sets the parameter type. Read-only XlParameterType.
Value The parameter value. For more information, see the Parameter object. Read-only Object.

Top

Public Methods

  Name Description
SetParam Defines a parameter for the specified query table.

Top

See Also

Reference

Parameter Interface
Microsoft.Office.Interop.Excel Namespace