public void UniteCells(Microsoft.Office.Interop.Excel.Worksheet ws, int x1, int y1, int x2, int y2) //合并4102单1653元内格容 { ws.get_Range(ws.Cells[x1, y1], ws.Cells[x2, y2]).Merge(Type.Missing); }
public void UniteCells(string ws, int x1, int y1, int x2, int y2) //合并单元格 { GetSheet(ws).get_Range(GetSheet(ws).Cells[x1, y1], GetSheet(ws).Cells[x2, y2]).Merge(Type.Missing);
public void UniteCells(Microsoft.Office.Interop.Excel.Worksheet ws, int x1, int y1, int x2, int y2) //合并4102单1653元内格容 { ws.get_Range(ws.Cells[x1, y1], ws.Cells[x2, y2]).Merge(Type.Missing); }
public void UniteCells(string ws, int x1, int y1, int x2, int y2) //合并单元格 { GetSheet(ws).get_Range(GetShe坏粉云落剧越再头推提et(ws).Cells[x1, y1], GetSheet(ws该维积含).Cells[x2, y2]).Merge(Type.Missing);