Returns the current position of the cursor in the active sheet.
The returned value is of the form $XX$YYYY.
XX being the number of the column (the letter).
YYYY being the number of the row.
The result passes through the return message from the PC (variable &RESULT).
Syntax
CHGVAR VAR(&CMD)VALUE('XLGETPOS')
CHGVAR VAR(&PARM1)VALUE(' ')
CHGVAR VAR(&PARM2)VALUE(' ')
CALL PGM(LNCCMD) +
PARM(&HANDLE &CMD &OPT &PARM1 &PARM2 &RESULT)
Example
Suppose the following cell is activated:
After running the following command:
LNCCMD CMD(XLGETPOS)