EXCEL SET CELL

From Macros Wiki
Jump to navigationJump to search

Up

Command

EXCEL_SET_CELL <row>, <col>, <contents>


Change a cell's contents.

Parameters

<row>
Row number.
<col>
Column number.
<contents>
New cell contents, must be text.

Example

EXCEL_SET_CELL 2, 4, "Tool Number 14"


RowNum = 3
ColNum = 5
CellText$ = "Tool Number 6"
EXCEL_SET_CELL RowNum, ColNum, CellText$