Merges several cells in a Word table.
Syntax
CHGVAR |
VAR(&CMD) VALUE('WMERGECELL') |
CHGVAR |
VAR(&PARM1) VALUE(' Cols=Columns number ;Rows=Rows number ') |
CHGVAR |
VAR(&PARM2) VALUE(' ') |
CALL |
PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 + &PARM2 &RESULT) |
MONMSG |
MSGID(LNC0000) EXEC(GOTO CMDLBL(ERROR)) |
Parameters
Parameters |
|
Parm1 |
Cols : Number of columns to select from the current position.
Rows : Number of rows to select from the current position. |
|
Example
CHGVAR |
VAR(&CMD) VALUE('WMERGECELL') |
CHGVAR |
VAR(&PARM1) VALUE('cols=4;rows=2') |
CHGVAR |
VAR(&PARM2) VALUE(' ') |
CALL |
PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 + &PARM2 &RESULT) |
MONMSG |
MSGID(LNC0000) EXEC(GOTO CMDLBL(ERROR)) |
See also