合并Excel文件文件:
Dim mg As New Mergermg.SourcePath = "c:\data\销售管理.xls"mg.Format = "excel" '指定格式mg.SourceTableName = "订单" '指定要合并的表mg.DataTableName = "订单" '指定接收数据的表mg.Merge() '开始合并