现在代码如下
Dim Book As New XLS.Book(ProjectPath & "Attachments\报价回复单模板2.xls")
Dim name As String = Tables("项目跟踪表.项目报价记录.报价产品").current("项目名称")
Dim fl As String = ProjectPath & "Reports\" & name & "-报价回复单" & Date.today & ".xls"
Dim Sheet As XLS.Sheet = Book.Sheets(0) '引用工作簿的第一个工作表
Sheet(7,3).Value = Date.Today
Book.Build() '生成细节区
Book.Save(fl) '保存工作簿
Dim Proc As New Process '打开工作簿
Proc.File = fl
Proc.Start()
现在我想根据 【 项目名称列 +客户名称列 】两列来自动命名EXCEL表文件名