Search
Table.CellVariantTag Property
See Also
 



Gets or sets a custom OLE VARIANT value associated with the specified cell.

 Syntax

VB6  Copy Code

Public Property Get CellVariantTag( _
    ByVal col As Long, _
    ByVal row As Long _
) As Object
Public Property Let CellVariantTag( _
    ByVal col As Long, _
    ByVal row As Long, _
    ByVal value As Object _
)

C++  Copy Code

public:
IDispatch* get_CellVariantTag (
    int col,
    int row
)
void put_CellVariantTag (
    int col,
    int row,
    IDispatch* value
)

 Parameters

col
The 0-based index of the cell's column.
row
The 0-based index of the cell's row.

 Property Value

A COM VARIANT structure.

 Remarks

Contains user defined data that can be represented with a VARIANT structure. This is an indexed property having the cell column as first index and the cell row as second. A cell's VARIANT is serialized when saving files if its value is of a simple or string type, if it refers to a COM object that implements the IPersistStreamInit interface, or if it refers to a safe-array of VARIANTs.

 See Also