EDIT.COLOR macro

Equivalent to clicking the Modify button on the Color tab, which appears when you click the Options command on the Tools menu. Defines the color for one of the 56 color palette boxes.

Use EDIT.COLOR if you want to use a color that is not currently on the palette and if your system hardware has more than 56 colors available. After you set the color for the color box, any items previously formatted with that color are displayed in the new color.

Syntax

EDIT.COLOR(color_num, red_value, green_value, blue_value)

EDIT.COLOR?(color_num, red_value, green_value, blue_value)

Color_num    is a number from 1 to 56 specifying one of the 56 color palette boxes for which you want to set the color.

Red_value, green_value, and blue_value    are numbers that specify how much red, green, and blue are in each color.

 

Remarks

 

Related Function

COLOR.PALETTE   Copies a color palette from one workbook to another

Return to index