The invention discloses an implementation method for controlling office
software to execute a target operation through a
natural language, and relates to the technical field of computer office
software automation, which comprises the following steps: constructing a target operation automatic execution
system, and respectively setting a demand input end, a
code generation end and a code execution end in the
system, according to the method, the target operation automatic execution
system is constructed, and the demand input end, the
code generation end and the code execution end are respectively arranged in the system, so that during
actual use, a user only needs to describe an operation demand by using a
natural language, and a corresponding code is automatically generated according to the demand by using a large
language model; and the codes are automatically executed to control the office
software to realize the operation wanted by the user, so that the effect of the required operation can be achieved without learning a large amount of office software using skills by the user, the learning cost of the user is reduced, and the office efficiency is improved.