Second question test one in the document at the back of the blank cells within the fill in the name
CodePudding user response:
You shouldn't be hard to solve, how do you achieve, stick the key codeCodePudding user response:
Generate a save a and closeDoc1. Saveas "folder" & amp; "\ filename. Doc"
Doc1. Close
CodePudding user response:
Pageoffice can realize online fill the word tables. And batch conversion generated word documents. Are interested can look at the following example http://www.pageoffice.cn:8080/Samples4/effectCodePudding user response:
CodePudding user response:
PageOffice can batch operationCodePudding user response:
There are too many issues that need to be written statements, give you an idea,First, found in the memory word applicaion of handle, if an application, it is in the application of traverse the document
Second, for each uTable as word. The table in oWordDoc. Tables
Third, the if uTable. Cell (1, 1). Range. The Text="test:" then uTable. Cell (1, 2) Range. The Text=...
Fourth, save the file with oWordApp. Activedocument. SaveAs2 (filename data set or timestamp), then vtivedocument. Close ()