EXCEL cell merge

xiaoxiao2021-03-06  115

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";

转载请注明原文地址:https://www.9cbs.com/read-101501.html

New Post(0)