Set Cell Format
セルに数値書式/太字/塗りつぶしを適用します。
ExcelExcelSetFormatCell
概要
セルに数値書式/太字/塗りつぶしを適用します。
Apply number format / bold / fill to a cell.
パラメータ
| パラメータ | 型 | 必須 | 既定値 | 説明 |
|---|---|---|---|---|
| Excel instance | variable | 必須 | excel | Name that identifies this open workbook. |
| Sheet (blank = active) | string | 任意 | Worksheet name; blank uses the active sheet. 変数に対応 | |
| Reference by | dropdownA1 (Cell) · Row & Column | 任意 | A1 (Cell) | |
| Cell (A1) — for A1 mode | string | 任意 | 例: A1 変数に対応 | |
| Row (1-based) — for Row & Column mode | number | 任意 | 例: 1 変数に対応 | |
| Column (1-based) — for Row & Column mode | number | 任意 | 例: 1 変数に対応 | |
| Number format | string | 任意 | e.g. 0.00 or #,##0 or yyyy-mm-dd. 例: 0.00 変数に対応 | |
| Bold | dropdownNo · Yes | 任意 | No | |
| Background color (hex) | string | 任意 | 6-digit hex, e.g. FFFF00. 例: FFFF00 変数に対応 |