使用脚本组合文档
我想知道我现在是否可以手动执行一项任务。我有文件夹,每个文件夹都有两个Word文档。我将这两个文档与评论色带中的组合收割机结合在一起,并保存文档供其他人查看更改。
我可以自动创建这些文件,例如使用PowerShell或VBA?
I was wondering if I could automate a task I'm doing manually now. I have folders, each with two word documents. I combine both documents with Combine from the Review ribbon and save the document for someone else to review the changes.
Can I automate creating those files, for example with powershell or VBA?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要使用PowerShell组合两个Word文档,您可以使用以下内容:
ps使用COM OBOCTS 时,您需要使用完整的绝对文件路径
To combine two word documents using PowerShell, you can use this:
P.S. You need to use full, absolute file paths when using COM objects