Assign text to a cell in the current Excel worksheet.
The fomat cell is set as Text.
Syntax
CHGVAR VAR(&CMD) VALUE('XLSETTEXT')
CHGVAR VAR(&PARM1) VALUE('Coordinates')
CHGVAR VAR(&PARM2) VALUE('Text')
CALL PGM(LNCCMD)
PARM(&HANDLE &CMD &OPT &PARM1
&PARM2 &RESULT)
Parameters
Parameters |
|
Parm1
Parm2 |
The coordinates of the cell
can be given as following: If Parm1 is not specified, the active cell will be modified.
|
|
Examples
CHGVAR |
VAR(&CMD) VALUE('XLSETTEXT') |
CHGVAR |
VAR(&PARM1) VALUE('$A$1') |
CHGVAR |
VAR(&PARM2) VALUE('Dépenses') |
CALL |
PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 + &PARM2 &RESULT) |
or
LNCCMD CMD(XLSETTEXT) PARM1('C7') PARM2('Aura')
or
LNCCMD CMD(XLSETTEXT) PARM1('Name') PARM2('Aura')
or (modification of active cell)
LNCCMD CMD(XLSETTEXT) PARM2('Aura')
See also