Luegisdorf
10/10/2005 9:00:00 AM
Hi Marcin
You can use XLSHTML instead of HTML. The XLSHTML-Format is like a HTML page
and this way you don''t need Excel-COM. There should be much information in
the internet to use or produce XLSHTML files.
But for a simple beginning just make a textfile which this contains:
<table><tr><td>any value</td></tr></table>
Then rename or save the file to xyz.xls and open it in Excel, make some
modifications and save again. Open now the file in Notepad and you can see
the format flags Excel is using you may need in your ''Report to Excel''
feature.
Hope this helps.
regards
Patrick
"marcin" wrote:
> Hi, as Axapta 3.0 does not have simple "save report as Excel file" feature
> (for heaven sake) so I have created a patch - my class takes the report name
> and creates report in Excel. Now its time to focus on performance - every COM
> call is connected with a time overhead. Is there a way to put a matrix of
> values to Excel in single COM call? Regards, Marcin
>
> remarks: I am not able to use CSV, export to .txt file cos I have to handle
> situation when fields contain "new line" character.