Foxtable(狐表)用户栏目专家坐堂 → 什么同时打两个表


  共有2442人关注过本帖树形打印复制链接

主题:什么同时打两个表

帅哥哟,离线,有人找我吗?
qazlinle6
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:七尾狐 帖子:1553 积分:10501 威望:0 精华:0 注册:2013/6/8 16:19:00
什么同时打两个表  发帖心情 Post By:2023/11/27 22:09:00 [只看该作者]

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


什么同时打两个表

 回到顶部
帅哥,在线噢!
有点蓝
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:110574 积分:562766 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2023/11/27 22:14:00 [只看该作者]

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

Book = New XLS.Book(ProjectPath & "Attachments\工费piao据打印.xls")
f = ProjectPath & "Reports\工费piao据打印.xls"
Book.Build()
Book.Save(fl)
App = New MSExcel.Application
Wb = App.WorkBooks.Open(fl)
Ws  = Wb.WorkSheets(1)
Ws.PrintOut
App.Quit

 回到顶部