XL2000: Border Color of Lines Returns Incorrect RGB Value When Border Color Is Set to Automatic

ID: Q248175


The information in this article applies to:
  • Microsoft Excel 2000


SYMPTOMS

When you use the Color property to return the border color of a series in a Microsoft Excel 2000 line chart, Microsoft Visual Basic for Applications always returns the RGB value 0 (black) if the border color is set to Automatic.

For example, if the border color is automatic, the following code returns the RGB value 0 for the Color property of Series 1 in a line chart, even if the actual displayed color is not black:


ActiveChart.SeriesCollection(1).Border.Color 


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

Additional query words: XL2000 chart line border color VBA property zero

Keywords : kbdta kbdtacode OffVBA KbVBA
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: January 26, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.