Chart.Export error '1004' after upgrade to Excel 2003

M

Marsel

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top