问题描述
我想从Excel电子表格中打开Word 2013中的PDF文件。 我有这个工作,除了打开PDF文件时弹出的对话框。 有没有办法不显示这个对话框?
代码:
设置oDoc = oWord.Documents.Open(文件名:= strPathFilename,ConfirmConversions:= False,ReadOnly:= True)
对话框消息:
Word现在将您的PDF转换为可编辑的Word文档。 这可能需要一段时间。 生成的Word文档将进行优化,以允许您编辑文本,因此它可能看起来不像原始PDF,特别是如果原始文件
包含大量图形。
有一个"不要再显示此消息"复选框;但是,我不希望用户甚至看到这个对话框,因为它是一个长时间运行的应用程序的一部分,它将一直挂起,直到它被响应。
基本上,我不想要用户在打开文件时看到该消息。 有没有办法做到这一点?
ConfirmConversions - 用于不同的转换窗口,看起来不再像以前那样。
Bob
I would like to open a PDF file inside of Word 2013 from an Excel Spreadsheet. I have this working with the exception of a dialog box that pops up when I open the PDF file. Is there any way to not have this dialog box show up?
code:
Set oDoc = oWord.Documents.Open(Filename:=strPathFilename, ConfirmConversions:=False, ReadOnly:=True)
Dialog Box Message:
Word will now convert your PDF to an editable Word document. This may take a while. The resulting Word document will be optimized to allow you to edit the text, so it might not look exactly like the original PDF, especially if the original file contained lots of graphics.
There is a "Don't show this message again" check box; however, I don't want the user to even see this dialog as it is part of a long running application that will hang until it is responded to.
Basically, I don't want the user to see that message when opening the file. Is there any way to do this?
ConfirmConversions - is for a different conversion window that doesn't look like it is normally seen any longer.
Bob
这篇关于在没有转换消息的Word中打开PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!