How to combine cells?


#1

Is there any way to combine cells? say I want to combe cells[1,0] to cells[1,3].Thanks


#2

Please try:

Excel excel = new Excel();
excel.Worksheets[0].Cells.Merge(1, 0, 1, 4);