Open(FileName、 ConfirmConversions、 ReadOnly、 AddToRecentFiles、 PasswordDocument、 PasswordTemplate、 Revert、 WritePasswordDocument、 WritePasswordTemplate、Format、 Encoding、 Visible、 OpenConflictDocument、 OpenAndRepair、 DocumentDirection、 NoEncodingDialog)VUy检测VBA
参数VUy检测VBA |
中文VUy检测VBA |
FileNameVUy检测VBA |
文档名(可包含路径)VUy检测VBA |
ConfirmConversionsVUy检测VBA |
True 显示 转换文件对话框中,如果该文件不是 Microsoft Word 格式。VUy检测VBA |
ReadOnlyVUy检测VBA |
为 True,则以只读方式打开文档VUy检测VBA |
AddToRecentFilesVUy检测VBA |
为 True,要将文件名添加到列表中最近使用的文件在 文件菜单的底部VUy检测VBA |
PasswordDocumentVUy检测VBA |
打开文档时所需的密码VUy检测VBA |
PasswordTemplateVUy检测VBA |
打开模板时所需的密码VUy检测VBA |
RevertVUy检测VBA |
控制如果 FileName 是打开文档的名称会进行什么操作。 为 True,则放弃对打开文档的任何未保存更改并重新打开文件。 为 False,则激活打开的文档。VUy检测VBA |
WritePasswordDocumentVUy检测VBA |
用于保存文档更改的密码VUy检测VBA |
WritePasswordTemplateVUy检测VBA |
用于保存模板更改的密码VUy检测VBA |
FormatVUy检测VBA |
用于打开文档的文件转换器。 可为以下 WdOpenFormat 常量之一。 默认值为 wdOpenFormatAuto。 若要指定外部文件格式,请将 OpenFormat 属性应用于 FileConverter 对象,以确定要与此参数一起使用的值VUy检测VBA |
EncodingVUy检测VBA |
当你查看保存的文档时 Microsoft Word 所使用的文档编码(代码页或字符集)。 可以是任何有效的 MsoEncoding 常量。 要查看有效 MsoEncoding 常量的列表,请参阅“Visual Basic 编辑器”中的“对象浏览器”。 默认值是系统代码页。VUy检测VBA |
VisibleVUy检测VBA |
如果在可见窗口中打开文档。 默认值为 TrueVUy检测VBA |
OpenConflictDocumentVUy检测VBA |
指定是否打开具有脱机冲突的文档的冲突文件VUy检测VBA |
OpenAndRepairVUy检测VBA |
如果该属性为 True ,则修复文档,以防止文档毁坏VUy检测VBA |
DocumentDirectionVUy检测VBA |
表示文档中的横排文字。 默认值为 wdLeftToRightVUy检测VBA |
NoEncodingDialogVUy检测VBA |
为 True,如果无法识别文本编码,则跳过显示 Word 所显示的“编码”对话框。 默认值为 False。VUy检测VBA |
|