REPLACE.FONT

Macro Sheets Only

Replaces one of the four built-in fonts in Microsoft Excel for Windows version 2.1 or earlier with a new font and style. This function is included only for macro compatibility. To change the font of the selected cell or range as part of a macro, use the FONT.PROPERTIES function.

Syntax

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

Related Functions

FONT.PROPERTIES Sets various font attributes

List of Command-Equivalent Functions