ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Chart.Export error '1004' after upgrade to Excel 2003 (https://www.excelbanter.com/excel-programming/348365-chart-export-error-1004-after-upgrade-excel-2003-a.html)

Marsel

Chart.Export error '1004' after upgrade to Excel 2003
 
I just upgraded from Excel 2000 to Excel 2003, and this line of code will not work anymo

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


All times are GMT +1. The time now is 03:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com