XL97: Page Fault Adding Shadow to Series in Surface Chart

Last reviewed: January 9, 1998
Article ID: Q168953
The information in this article applies to:
  • Microsoft Excel 97 for Windows

SYMPTOMS

In Microsoft Excel 97, if you run a Visual Basic for Applications macro that attempts to add a shadow to a series in a chart, you may receive the following error message:

   This program has performed an illegal operation and will be shut down.
   If the problem persists, contact the program vendor.

If you click Details, you receive an error message similar to the following:

   EXCEL caused an invalid page fault in module EXCEL.EXE at
   0137:3047d3d8.

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 attempt to add a shadow to a series in a 3-D Surface chart. If you do not know with what type of chart you will be working, you may need to modify your macro so that 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 to occur 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: XL97
Keywords : kberrmsg
Version : WINDOWS:97
Platform : WINDOWS
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: January 9, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.