Microsoft KB Archive/929998

= Objects may be different colors when you use Visual Basic for Applications to set more than one object to the same color in Excel 2007 =

Article ID: 929998

Article Last Modified on 10/15/2007

-

APPLIES TO


 * Microsoft Office Excel 2007

-



SYMPTOMS
When you use Visual Basic for Applications (VBA) to set more than one object to the same color in Microsoft Office Excel 2007, some of those objects may be different colors. This problem occurs when you use the SchemeColor variable and the ThemeColor variable to set the color of the objects in VBA.



WORKAROUND
To work around this problem, use RGB settings to set the color of objects in VBA.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Additional query words: xl2007

Keywords: kbtshoot kbprb kbexpertisebeginner KB929998

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.