通过提示从excel打开word文档
问题描述:
我需要能够从Excel打开word文档,但每次运行宏时文件都不同。我已经看到很多打开静态单词doc的例子,但是在努力选择文件方面很困难。我知道如何在Excel中打开
另一个excel文件,但它不能干净地翻译。 任何人都有任何想法?下面是我用来打开提示选择Excel文件的代码。如果有人可以帮我修改它,我会很高兴的!提前谢谢!
I need to be able to open a word document from Excel, but the file is different every time the macro is run. I have seen lots of examples of opening a static word doc, but struggling with being able to choose the file. I know how to do it in Excel to open another excel file, but it does not translate cleanly. Anyone have any ideas? Below is the code I use to open a prompt to select an Excel file. If someone can help me modify it, I would be so happy! Thank you in advance!
答
您是否只想打开文档,这样用户可以查看或编辑它,还是需要使用代码操作文档?
Do you merely wish to open the document, so that the user can view it or edit it, or do you need to manipulate the document using code?