Search
Table.SetText Method
See Also
 



Sets the text of a cell.

 Syntax

VB6  Copy Code

Public Sub SetText( _
    ByVal col As Long, _
    ByVal row As Long, _
    ByVal newVal As String _
)

C++  Copy Code

public:
void SetText (
    int col,
    int row,
    BSTR newVal
)

 Parameters

col
The column of a table cell whose text is to change.
row
The row of a table cell whose text is to change.
newVal
The new text of the cell.

 Remarks

Changes the text of a cell. The cell position in the table is specified in the col and row arguments.

 See Also