googleSheets.formatRange() merges the format properties you provide into every cell in a grid range or native-table section.
Example
Inputs
Providespreadsheet, range, and format. A grid range takes sheet plus optional one-based inclusive startRow, endRow, startColumn, and endColumn. A table target takes table and optional section: all, header, body, or footer. The section defaults to all. Requesting a missing body or footer fails.
format accepts:
backgroundColor: a six-digit hex color such as#1A73E8, or{ theme }wherethemeistext,background,accent1throughaccent6, orlinktext:family, integersize,bold,italic,strikethrough,underline,link, andcolorborders:top,right,bottom,left,innerHorizontal, andinnerVertical. Each isnullto clear it or{ style, color? }, wherestyleisdotted,dashed,solid,solidMedium,solidThick, ordoublehorizontalAlignment:left,center, orright.verticalAlignmentacceptstop,middle, orbottomwrap:overflow,clip, orwrap.textDirectionacceptsleftToRightorrightToLeft.hyperlinkDisplayacceptslinkedorplainTextpadding: integertop,right,bottom, andleftpixel values. Google requires all four sidesrotation:{ type: "angle", angle }with an integer from-90through90, or{ type: "vertical", vertical: boolean }numberFormat: optional Sheetspatternandtype:text,number,percent,currency,date,time,dateTime, orscientific
{ account } selects the Google Account. All action inputs accept compatible signals.
Output
Returns the resolved zero-based, end-exclusive grid range with numericsheetId. Unspecified formatting remains unchanged.