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


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

主题:什么同时打两个表

帅哥哟,离线,有人找我吗?
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


什么同时打两个表

 回到顶部