STYLE macro

Checks the fonts for a bold and/or italic font and applies it to the current selection in Microsoft Excel for the Macintosh version 1.5 or earlier. If no appropriate font is available, Microsoft Excel finds the most similar font available and formats the selection using that font. This function is included only for macro compatibility. If you want to change a font to bold or italic, use the FONT.PROPERTIES function.

Syntax

STYLE(bold,italic)

STYLE?(bold,italic)

Related Function

FONT.PROPERTIES   Applies a font to the selection

Return to index