XL5: Can't Set ColorIndex Property of Style ClassLast reviewed: September 2, 1997Article ID: Q141785 |
The information in this article applies to:
SYMPTOMSIn Microsoft Excel, when you use Visual Basic for Applications and you attempt to set the color for the font of the default style, the color will always be set to shadow as in the following example:
ActiveWorkbook.Styles("Test").Font.ColorIndex = 1 WORKAROUNDSet the ColorIndex property to xlAutomatic. All other values will create a shadow, but they will not set the color of the font.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Excel for Windows version 5.0c. Keywords : PgmOthr xlwin kbcode kbprg Version : 5.00 Platform : WINDOWS |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |