Dim Book As New XLS.Book(ProjectPath & "Attachments\金价piao据打印.xls")
Dim fl As String = ProjectPath & "Reports\金价piao据打印.xls"
Book.Build()
Book.Save(fl)
Dim App As New MSExcel.Application
Dim Wb As MSExcel.WorkBook = App.WorkBooks.Open(fl)
Dim Ws As MSExcel.WorkSheet = Wb.WorkSheets(1)
Ws.PrintOut
App.Quit
Dim Book As New XLS.Book(ProjectPath & "Attachments\工费piao据打印.xls")
Dim f As String = ProjectPath & "Reports\工费piao据打印.xls"
Book.Build()
Book.Save(fl)
Dim App As New MSExcel.Application
Dim Wb As MSExcel.WorkBook = App.WorkBooks.Open(fl)
Dim Ws As MSExcel.WorkSheet = Wb.WorkSheets(1)
Ws.PrintOut
App.Quit
什么同时打两个表