Microsoft Excel Chart
-
How do I activate the OLE component Microsoft Excel Chart at runtime exactly like I have designed it and how do I put new data in to the chart at runtime?
-
Pleeeeeease can´t anyone help me with this, it´s breaking me... Men in long white coats will come and get me soon if I dont solve this problem. = (
It's tricky to make it seem as though *you* were the one who did it. Here's a starting point- you may already be past this: 1. In Excel, start a macro and then create the chart. 2. Examine the code in the macro generated VBA module. 3. Instantiate the Excel.Application, Workbook, Chart and create a chart programmatically using the macro code as your guide. It isn't difficult to do, but it will require that you users have Excel on their machines. Oh, and you can macro copy+paste operations too, in case you want to copy it to an OLE container control or something like that. I hope this puts you on a track... David *->>Always working on my game, teach me *->>something new. cout << "dav1d\n";