回复:(lgz518)Dim tm As String = ProjectPa... Post By:2022/2/26 12:20:00 [显示全部帖子]
我的方法:
Dim tm As String = ProjectPath & "Attachments\" & e.Form.Name & ".docx" '指定模板文件 Dim time As String =Format(Date.Now,"yyyyMMddHHmmss") Dim fl As String = ProjectPath & "Reports\" & time & e.Form.Name & ".docx" '指定目标文件 Dim fl2 As String = ProjectPath & "Reports\" & time & e.Form.Name & ".pdf" '指定目标文件