Hi,
I have an old piece of software that builds a file of data that it then throws at Excel to display as either a pie chart or bar graph, complete with headings and so on.
It doesn't work - gives a runtime error '1004' with the message "the default chart type cannot be applied to the selected data", but 1004 isn't specific enough to determine the exact cause.
This must have worked at some point in the past, but I don't have any documentation about it from my company, or even any comments in the code. I'm struggling to find anything relevant to doing this from outside Excel - there's plenty about how to do it within Excel. I expect the problem is either the command line, or the file format, or both, need updating - it would have originally been written against a much older version of Excel.
Can anyone point me in the right direction, please?