这样可以做到,帮助上面都有的
设计一个模板excel,就可以导出数据。
DataTables.Save()Dim Book As New XLS.Book(ProjectPath & "Attachments\模板.xls")Dim fl As String = ProjectPath & "Reports\模板.xls"Book.Build() Book.Save(fl) Dim Proc As New Process Proc.File = flProc.Start()