Version

WorkbookColorPalette Class Members

The following tables list the members exposed by WorkbookColorPalette.

Public Properties
 NameDescription
Public PropertyCountGets the number of colors in the palette, which is always 56.  
Public PropertyIsCustomGets the value which indicates whether the palette has been cusotmized.  
Public PropertyItemGets or sets a color in the palette.  
Public Methods
 NameDescription
Public MethodContainsDetermines whether the specified color is in the color palette.  
Public MethodGetIndexOfNearestColorGets the index of the closest color in the color palette, which will be seen when the file is opened in Microsoft Excel 2003 and older versions.  
Public MethodResetResets the palette back to the default colors for Microsoft Excel.  
See Also