I have VS2010 project. For now im using standart MSDN code for excel data export(just for testing purposes):
Dim xls As Microsoft.Office.Interop.Excel.Application Dim xlsWorkBook As Microsoft.Office.Interop.Excel.Workbook Dim xlsWorkSheet As Microsoft.Office.Interop.Excel.Worksheet Dim misValue As Object = System.Reflection.Missing.Value
Using this method all is working fine.
But what i want is to be able to create Excel file and export data to it even if I don't have MSOffice Excel present on the system.
Because the application will be run on server and output will be sent to our mail -> so I wont have Excel on the server.
What i could do is just export data to .txt and then, after I receive it in mail, in excel use Data->Text to Collumns but I would like to do this more elegantly.
Any suggestions?