STANDARD.FONT macro

Sets the attributes of the standard font in Microsoft Excel version 2.2 and earlier. This function is included only for macro compatibility. To define and apply a style in Microsoft Excel version 5.0 or later, use the APPLY.STYLE and DEFINE.STYLE functions.

Syntax

STANDARD.FONT(name_text, size_num, bold, italic, underline, strike, color, outline, shadow)

The arguments for this function are the same as those for FORMAT.FONT.

Related Functions

APPLY.STYLE   Applies a style to the selection

DEFINE.STYLE   Defines a cell style

FORMAT.FONT   Applies a font to the selection

Return to index