Excel.Application myexcel = new excel.application (); myexcel.application.workbooks.add (true); myexcel.visible = true; Excel.Worksheet Worksheet = (Excel.Worksheet) MyExcel.activesheet;
Excel.Range RH = Worksheet.get_Range ("A1", "A3"); RH.MERGE (0); myexcel.cells [1,1] = "assignment";