Set the font properties (font-name, color, size, etc.) of cells.
| Overload Name | Description |
|---|---|
| General | Set cell font properties. |
Set cell font properties.
| Argument | Description |
|---|---|
| SpecifySheetBy |
Select how to specify which worksheet to select while the method is being executed.
Specify one of the following values or an arbitrary value:
<blank>SheetNameSheetNumberAllSheets
|
| SheetSpec | Specify the sheet-name or sheet-number, depending on SpecifySheetBy. If SpecifySheetBy is AllSheets then SheetSpec can be left empty. |
| Address | The address of a range to select for the execution of the method. |
| CellByCell | Whether to execute the method on a cell-by-cell basis, or on the range specified by the address. |
| ReverseOrder | Whether to loop through the rows and columns from highest to lowest. Only applies when CellByCell is true. |
| MethodCondition |
If the result of method-condition expression resolves to FALSE, then the method is not executed.
Specify one of the following values or an arbitrary value:
<blank>FALSETRUE
|
| CellCondition |
If the result of the condition expression resolves to FALSE, then the current cell is skipped.
Specify one of the following values or an arbitrary value:
<blank>FALSETRUE
|
| Font | Font to apply. |
| Style |
Regular, Italic, Bold, or BoldItalic.
Specify one of the following values or an arbitrary value:
<blank>RegularItalicBoldBoldItalic
|
| Size |
Font size to apply.
Specify one of the following values or an arbitrary value:
<blank>689101112141618202122242628364872
|
| Underline |
None, Single, Double, SingleAccounting, DoubleAccounting.
Specify one of the following values or an arbitrary value:
<blank>SingleSingleAccountingDoubleDoubleAccountingNone
|
| Color |
Excel color palette index to use for Font color. The value is zero-based from 0 to 55.
Specify one of the following values or an arbitrary value:
<blank>012345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
|
| ColorValue (8.0) | Select a specific color using the color selector. |
| StrikeThrough |
Whether to apply Font strikethrough format.
Specify one of the following values or an arbitrary value:
<blank>FALSETRUE
|
| Superscript |
NOT SUPPORTED?: Whether to apply Font superscript format.
Specify one of the following values or an arbitrary value:
<blank>FALSETRUE
|
| Subscript |
NOT SUPPORTED?: Whether to apply Font subscript format.
Specify one of the following values or an arbitrary value:
<blank>FALSETRUE
|