工资系统就剩下工资表了。我按帮助做好模板和程序,就是不会打印多行。
恳请老师指点迷津!谢谢!
程序:
Dim attafile,datafile
As String
attafile = "Attachments\工资表A4横.xls"
datafile = "D:\catch2\工资表.xls"
Dim Book As
New XLS.Book(attafile)
Dim Sheet As XLS.Sheet = Book.Sheets(0)
Dim file1 As String = datafile
Book.Build() '生成细节区
Book.Save(file1) '保存工作簿
Dim Proc As New Process
Proc.File = file1
Proc.Start()
模板:工资表A4横.Xls (附件)
我使用的是2019.5开发版