Home > other >  A lot of word file operations for help
A lot of word file operations for help

Time:09-26

The first question I have thousands of directly generated directly after word document generation is how to save them all open in the designated folder
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 code

CodePudding user response:

Generate a save a and close
Doc1. 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/effect

CodePudding user response:

CodePudding user response:

I do give a similar software, the problem doesn't solve, QQ contact 16831274

CodePudding user response:

PageOffice can batch operation

CodePudding 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 ()
  • Related