Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

This article was previously published under Q211823

↑ Back to the top


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.

↑ Back to the top


Cause

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

↑ Back to the top


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.

↑ Back to the top


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
				

↑ Back to the top


Keywords: KB211823, kbprb, kberrmsg

↑ Back to the top

Article Info
Article ID : 211823
Revision : 3
Created on : 9/27/2003
Published on : 9/27/2003
Exists online : False
Views : 217