val = oOpcData.Item(index).Value
oOpcData.Item(index).Value = val
|index||(Variant) Identification of the variable either by its name (String data type, case sensitive text, for example "a1") or by the index (zero-based index).|
The Var object includes information about the variable (value, name, index, etc.).
The Item property (like Var object) is read only, which means that the object cannot be changed but for example it is possible to write into the Value of the Var object.
Dim val, tim, qual
val = oOpcData.Item(0).Value
tim = oOpcData.Item(0).TimeStamp
qual = oOpcData.Item(0).Quality
Example see Data vector transfer