EXCEL SET CELL: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| 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= | |param3=<contents>|param3_desc=New cell contents, must be text. | ||
}} | }} | ||
===Example=== | ===Example=== | ||
:EXCEL_SET_CELL 2, 4, " | :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]] | ||
Revision as of 17:41, 12 January 2011
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$