Skip to content
Julian Halliwell edited this page Mar 8, 2017 · 8 revisions

Formats/styles the contents of a single row.

formatRow( workbook, format, row )

##Required arguments

  • workbook spreadsheet object
  • format struct: See Formatting options for details.
  • row numeric

##Example

data = QueryNew( "First,Last","VarChar,VarChar",[ [ "Susi","Sorglos" ],[ "Frumpo","McNugget" ] ] );
spreadsheet = New spreadsheet();
workbook = spreadsheet.workbookFromQuery( data );
spreadsheet.formatRow( workbook,{bold="true"},1 );
Clone this wiki locally