Dim Book As New XLS.Book(ProjectPath & "Attachments\模版.xls") Dim fl As String = ProjectPath & "Reports\模版.xls" Tables("XXX").Filter = "日期= #" & Date.Today & "#" Book.Build() '生成细节区 Book.Save(fl) '保存工作簿 Dim Proc As New Process '打开工作簿 Proc.File = fl Proc.Start()