I created a button component that you can use to export any table inside your application, all you have to do is include it and give the name of the table you want to export.
First add the button and the table you want(could be the crosstab or any SDK component you developed)
On the component properties, you must type the name of the table you want to export.
Here is the excel generated, none of the formatting is carried over, but it is a start.
Here is the code.
Let me know what you think, and any improvements you might think of.