put_selection_values
Assign a value for the width, height, and union of the currently selected cell or group of selected cells.
Call:
excel_request("put_selection_values", string varname1, string/int/double/bool varvalue1,..., string varnamen, string/int/double/bool varvaluen);
Here:
varname1 - varnamen - variable names that are available for a cell or group of selected cells in Excel, similar to Range in Excel VBA.
varvalue1-varvaluen - set values for these variables.
Example 1:
Set the width and height of the currently selected Excel cell.
excel_request("put_selection_values","Width",10,"Height",20);
Example 2:
Merge selected Excel cells.
excel_request("put_selection_values","MergeCells",1);