Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望用户打开一个提示输入一堆标题信息的文档,然后一旦用户按下一个按钮,它就会打开其他选定的 word 文档和 excel 电子表格(如果可能),然后保存并关闭它们。
你可以使用 Workbooks.Open(Filename:="C:\test.xls")
然后执行 ActiveWorkbook.Save 和 .Close accodingly
请注意,您一次可以处理一个工作簿