摘要
邮件合并是Office的一项功能,可便捷地批量生成文档,却无法从大量Word文档中汇总信息。结合实际应用,阐述基于Python语言对Word文档进行批量导入、读取其中的表格与段落、汇总信息至Excel工作簿的实现过程。实现反向邮件合并功能,解决Word文档批量汇总中的多个难点,实现Word文档批量汇总的自动化,有效提高了用户的工作效率,适用于人事数据、财务数据、员工信息的汇总,具有良好的实用性与推广价值。
Mail merge is a feature of Office that makes it easy to produce documents in bulk,but doesn’t aggregate information from a large number of Word documents.Combined with practical application,this paper describes the implementation process of importing Word documents in batches based on Python language,reading the tables and paragraphs therein,and summarizing the information to the Excel workbook.Realize the function of reverse mail merge,solve many difficulties in the batch summary of Word documents,realize the automation of batch summary of Word documents,effectively improve the work efficiency of users,suitable for the summary of personnel data,financial data,employee information,with good practicability and promotion value.
作者
马孝宗
戚亚东
徐燕
MA Xiaozong;QI Yadong;XU Yan(Cigarette Rolling Department of Zhumadian Cigarette Factory of Henan Zhongyan Industry Co.,Ltd.,Zhumadian 463000,China)
出处
《现代信息科技》
2020年第2期119-120,123,共3页
Modern Information Technology