Export (0) Print
Expand All
Expand Minimize

_Workbook.Colors Property

Returns or sets colors in the palette for the workbook. The palette has 56 entries, each represented by an RGB value. Read/write Object.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Object this[
	Object Index
] { get; set; }

Parameters

Index
Type: System.Object

Optional Object. The color number (from 1 to 56). If this argument isn’t specified, this method returns an array that contains all 56 of the colors in the palette.

Property Value

Type: System.Object
Show:
© 2015 Microsoft