Set font values ​​for the current Excel selection (cells or groups of cells).

Call:

excel_request("put_selection_fontvalues", string fontparname1, string/double/int/bool fontparvalue1, ... , string fontparnamen, string/double/int/bool/ fontparvaluen);


Here:

fontparname1-fontparnamen - Variable names that can be set in an Excel cell (similar to Excel VBA).

fornparvalue1-fontparvaluen - values ​​for these variables.


Example:

Set the font size in the current Excel cell to 10.32, bold italic.


excel_request("put_selection_fontvalues","Size",10.32,"Bold",1,"Italic",1);