var param = this.CommandParam; var targetCellFormula = param.ScanCode; var cellLocation = this.getCellLocation(targetCellFormula); var cellInfo = JSON.stringify(cellLocation); Forguncy.Page.getCellByLocation(JSON.parse(htmlmsgval.cellInfo)).setValue('OK');