[求助]关于自动生成Excel报表错误。 Post By:2013/12/17 15:16:00 [显示全部帖子]
按钮代码如下:
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 = fl Proc.Start()