The ValueTagItems attribute function can be used to determine the picklist values for a tag expression. Because there can be multiple matching values for a tag value, the values are returned as a list.
Syntax | ||||
ValueTagItems(Tag As Variant) | ||||
Return value | ||||
Variant() | ||||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Required |
Tag |
Variant |
ByVal |
Tag value of the items to be returned |
Example:
A variable ‘Color’ is defined as follows:
The execution of the following code
Dim Items() As Variant
Items := Color.ValueTagItems(1001)
…sets the variable Items with the value ‘Red’ in index 0.