I want to get a full styling in Excel sheet's cells like merging, coloring and font sizing. Now I am using Microsoft.Office.Interop.Excel library for this but I am getting confused to use it.
this is code that I am using for now
Microsoft.Office.Interop.Excel.Application excelApp = new Microsoft.Office.Interop.Excel.Application();
excelApp.Application.Workbooks.Add(Type.Missing);
excelApp.Columns.ColumnWidth = 20;
excelApp.Cells[7, 1].Borders[Microsoft.Office.Interop.Excel.XlBordersIndex.xlEdgeLeft].Weight = 1d;
I also want to make merging cell, style border and coloring too.Can somebody help to with an example code please??