EXCEL SET CELL: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
|param1=<row>|param1_desc={{row}}
|param1=<row>|param1_desc={{row}}
|param2=<col>|param2_desc={{col}}
|param2=<col>|param2_desc={{col}}
|param3=<contents>|param3_desc={{contents}}
|param3=<contents>|param3_desc=New cell contents, must be text.
}}
}}


===Example===
===Example===
:EXCEL_SET_CELL 2, 4, "tool number 14"
:EXCEL_SET_CELL 2, 4, "Tool Number 14"
<br>
:RowNum = 3
:ColNum = 5
:CellText$ = "Tool Number 6"
:EXCEL_SET_CELL RowNum, ColNum, CellText$


[[Category:Excel]]
[[Category:Excel]]

Latest revision as of 17:41, 12 January 2011

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$