XL98: Excel Quits When You Add Shadow to Series in Surface Chart

Last reviewed: February 3, 1998
Article ID: Q179215
The information in this article applies to:
  • Microsoft Excel 98 Macintosh Edition

SYMPTOMS

In Microsoft Excel 98 Macintosh Edition, if you run a Microsoft Visual Basic for Applications macro that attempts to add a shadow to a series in a chart, the program may shut down unexpectedly without displaying any error messages.

CAUSE

This problem occurs if you attempt to add a shadow to a series in a 3-D surface chart.

RESOLUTION

To prevent this problem from occurring, do not use a macro to add a shadow to a series in a 3-D surface chart. If you do not know what type of chart you will be working with, you may need to modify your macro so it checks the type of the chart before attempting to add a shadow to a series within the chart.

STATUS

By design, you cannot add a shadow to a series in a 3-D surface chart in Microsoft Excel.

MORE INFORMATION

The line of Visual Basic code that causes the error is similar to the following:

   ActiveChart.SeriesCollection(1).Shadow = True

In earlier versions of Microsoft Excel, you will receive the following error message if you run this line of code when the active chart is a 3-D Surface chart:

   Run-time error '1000':
   Series does not have Shadow property


Additional query words: XL98
Keywords : kbprg xlchart
Version : MACINTOSH:98
Platform : MACINTOSH
Issue type : kbprb
Solution Type : Info_Provided


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 3, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.