Hi, Im just wondering if there is a way that I can save my wxGrid Data to an Excel format? and is there a way to load Excel Data into wxGrid?
I just need the values in the cells, dont need the formulas.
Also, whats the most efficient way to print the contents of a wxGrid?
Thanks
Load/Save between Excel and WxGrid? Topic is solved
-
- Experienced Solver
- Posts: 65
- Joined: Sat Mar 29, 2008 9:18 pm
-
- Knows some wx things
- Posts: 35
- Joined: Mon Jan 15, 2007 8:10 pm
Hi,
IMHO there's no direct way. You have to use wxAutomationObject (see the sparse wx documentation)or MS ATL (many examples to be found in the net).
Both rather difficult if you've never done it before.
Maybe there's another way: Excel holds its data in an intern database and it should be possible to request them via SQL. Long ago I did so using Java, but no idea if there's an equivalent in wx / C++.
so long
testalucida
IMHO there's no direct way. You have to use wxAutomationObject (see the sparse wx documentation)or MS ATL (many examples to be found in the net).
Both rather difficult if you've never done it before.
Maybe there's another way: Excel holds its data in an intern database and it should be possible to request them via SQL. Long ago I did so using Java, but no idea if there's an equivalent in wx / C++.
so long
testalucida