setCellSelected
setCellSelected(r: Integer; c: Integer; val: Boolean);
The setCellSelected method of the Table class sets the selected status of the cell specified in the r and c parameters of the current sheet of a table.
The setCellSelected method achieves the same as setting the selected property, except that the row and column properties do not need to be set.
Use the val parameter to specify the selected status of the cell; that is, set this parameter to true to select the cell or to false to deselect the cell.
This method has no impact on the current values of the row and column properties. See also the getCellSelected, selectedCount, and selectedNext methods.