I just upgraded from Excel 2000 to Excel 2003, and this line of code will not work anymore:

Worksheets("Aux").ChartObjects("Chart 11").Chart.Export _
Filename:="minichart.jpg", FilterName:="JPG"

The error message is 'Application-defined or Object-defined error'.

The reference "Chart 11" is still correct, and I am not aware of any changes between the versions.

Any ideas?

/Marsel