XL2000: Page Fault When You Add a Shadow to a Series in a Surface Chart (211823)



The information in this article applies to:

  • Microsoft Excel 2000

This article was previously published under Q211823

SYMPTOMS

If you run a Microsoft 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

You cannot add a shadow to a series in a 3-D Surface chart in Microsoft Excel.

RESOLUTION

To work around this behavior, 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 what type of chart you will be working with, 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.

MORE INFORMATION

The line of Visual Basic code that causes the error message to occur is similar to the following:
ActiveChart.SeriesCollection(1).Shadow = True
				

Modification Type:MajorLast Reviewed:9/27/2003
Keywords:kberrmsg kbprb KB211823