Click here to Skip to main content
15,880,469 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi everyone !
I have problem with ActiveReport, when i export file excel then rows or columns askew designe, i don't know why, please help me. Thank very much

This is my code:
DataDynamics.ActiveReports.Export.Xls.XlsExport xls = new DataDynamics.ActiveReports.Export.Xls.XlsExport();
                    xls.AutoRowHeight = true;
                    xls.DisplayGridLines = true;
                    xls.FileFormat = DataDynamics.ActiveReports.Export.Xls.FileFormat.Xls97Plus;                 
                    xls.MultiSheet = true;
                    xls.RemoveVerticalSpace = true;  
                    xls.UseCellMerging = true;           
                    
                    xls.Export(this.viewer1.Document, "Myexcel.xls");
Posted
Updated 14-Sep-14 18:33pm
v2
Comments
Sergey Alexandrovich Kryukov 14-Sep-14 23:30pm    
Not clear. What happens?
—SA
Member 10338650 15-Sep-14 2:50am    
yeah, that mean, i used active report to design a report, then i exported it to excel, the file excel not true form which i designed, the rows askew. Do have properties to set cells same designer?
Please help me, thank very much !

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900