getSelectedCell

returns the id(s) of selected cell(s)

string getSelectedCell();

Returns

stringthe id(s) or a range of selected cell(s)

Example

spreadsheet.selection.setSelectedCell("B7,B3,D4,D6,E4:E8");
 
var selected = spreadsheet.selection.getSelectedCell(); // -> "B7,B3,D4,D6,E4:E8"

See also
Back to top