• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Missing combination charts from Excel 2003, when opening in Excel 2010

hitz1309

New Member
Hi,


One of my clients had created a few combination chart in excel 2003, to display a certain scorecards. However, due to company policies, we had to move to Excel 2010, and since then we are unable to see a few of them (2 types, specifically).


When we open the previous file in 2010, firstly (before even enabling macros) we get a error which says: 'File error: data may have been lost.' Then (after enabling the macros), it gives another error message: 'This application is about to initialize ActiveX controls that might be unsafe....'

[Earlier, I had found out that there was a missing calendar control, and so, I had copied the old-one (mscal.ocx, from a 2003 machine) and then registered it successfully on the 2010 machine]


After all the calcs, it is unable to show a few chart objects.


I tried stopping the macro and checked, the chart area objects are not available in the sheet.


Please let me know some possible cause or the solution to this issue.
 
Are the charts created or modified by the Macros?

Because the Excel Object Model has been changed in regards to how it addresses chart objects and the chart components and the 2003 macros will need to be modified to suit the new object model to run under Excel 2007+
 
Hui - The charts are not created, but are modified by the macro (depending on the dynamic source data).


I have also tried disabling the macros and then checking, but the chart area object itself is not available on my sheet (in 2010).
 
Hi, hitz1309!


First of all welcome to Chandoo's website Excel forums. Thank you for your joining us and glad to have you here.


As a starting point I'd recommend you to read the green sticky topics at this forums main page. There you'll find general guidelines about how this site and community operates (introducing yourself, posting files, netiquette rules, and so on).


Among them you're prompted to perform searches within this site before posting, because maybe your question had been answered yet.


Feel free to play with different keywords so as to be led thru a wide variety of articles and posts, and if you don't find anything that solves your problem or guides you towards a solution, you'll always be welcome back here. Tell us what you've done, consider uploading a sample file as recommended, and somebody surely will read your post and help you.


And about questions in general...


If you haven't performed yet the search herein, try going to the topmost right zone of this page (Custom Search), type the keywords used in Tags field when creating the topic or other proper words and press Search button. You'd retrieve many links from this website, like the following one(s) -if any posted below-, maybe you find useful information and even the solution. If not please advise so as people who read it could get back to you as soon as possible.


And about this question in particular...


Consider uploading a sample file (including manual examples of desired output if applicable), it'd be very useful for those who read this and might be able to help you. Thank you. Give a look at the green sticky posts at this forums main page for uploading guidelines.


Regards!
 
Hitz1309


You may have to import the files into Excel 2010

Recreate the Charts

Then re-write the VBA code to deal with the new charts


Standard charts should import ok, but combination charts may not

As I described above the 2003 VBA code will not work on the 2010 Charts as the Object model changed especially with how charts are specified in the Object model
 
Back
Top