[C #] WinForm Worksheets.Copy Microsoft.Office.Interop.Excel using Excel file to merge multiple

Brother wrote more than a word merge function before
the recent merger can think of word, excel should be able to merge


He wrote more than one word before the combined function of brother

Recent consolidation may think word, excel should be able to merge

First prepare two test excel file (1.xls, 2.xls) on the c slot, executing the program will generate a combined speed of the 3.xls

WinForm(c#)
ExcelCombine.cs

Results of the:

excel file 1

2 excel files

The combined profile, excel file 3

Reference website:

http://msdn.microsoft.com/zh-tw/library/microsoft.office.tools.excel.worksheet.copy(VS.80).aspx

http://topic.csdn.net/t/20061110/17/5149046.html

Original: Large column  [C #] WinForm use Worksheets.Copy Microsoft.Office.Interop.Excel to combine multiple Excel files


Guess you like

Origin www.cnblogs.com/chinatrump/p/11516545.html