If you see the “The file couldn’t open in protected view” error while opening Microsoft Excel, the solutions listed in this post may help you resolve the issue. While the majority of users experienced this error in Microsoft Excel, you may see this error in Microsoft Word too.Microsoft...
1.3Download and Rename the File Excel Protected View Won’t Open Files Disable Protected View But do this only if you’re absolutely sure that the file you want to open is safe. Launch Excel and click on theFiletab. Then go toOptionsand selectTrust Center. SelectProtected View. Untick th...
To help you out, we’ve decided to make a guide for fixing the ‘This file couldn’t open in protected view’ error in Microsoft Excel. Let’s get right into it! 1. Restart Your Computer. Like with our other guides, we suggest restarting your device whenever you encounter issues with ...
1、文件中包含了不支持ProtectedView模式的宏或ActiveX控件。2、文件中包含了链接到其他文件或外部数据源的内容,而这些链接在ProtectedView模式下无法正常工作。3、文件中包含了自定义的XML标记或自定义的样式,而ProtectedView模式下无法正常解析这些标记或样式。4、文件中包含了使用了新的Excel功能或格式的...
表达式。打开 (FileName、 Password、 AddToMru、 RepairMode) 表达 一个代表 ProtectedViewWindows 对象的变量。参数展开表 名称必需/可选数据类型说明 FileName 必需 字符串 工作簿的名称(可包含路径)。 Password 可选 Variant 打开工作簿时所需的密码。 AddToMru 可选 Variant 如果为 True,则将该文件名添加...
还可以使用Application对象的ActiveProtectedViewWindow属性访问代表活动“受保护的视图”窗口的ProtectedViewWindow对象。 访问ProtectedViewWindow对象后,使用Workbook属性访问表示在“受保护的视图”窗口中打开的工作簿文件的Workbook对象。 由于“受保护的视图”窗口旨在保护用户免受潜在恶意代码的侵害,因此通过使用ProtectedView...
ProtectedViewWindow 属性 _默认 Caption EnableResize Height Left SourceName SourcePath 顶部 Visible Width WindowState 工作簿 方法 ProtectedViewWindows 保护 PublishObject PublishObjects QueryTable QueryTableClass QueryTables QuickAnalysis 范围 Ranges RecentFile RecentFiles Rectangle 矩形 矩形Gradient RefreshEvents ...
public Microsoft.Office.Interop.Excel.ProtectedViewWindows ProtectedViewWindows { get; } Property Value ProtectedViewWindows A ProtectedViewWindows collection that represents all the Protected View windows that are open in the application. Remarks Read-only. Applies to 產品版本 Excel primary interop ...
Click on the File tab. Select Options from the menu. The Excel Options dialog box will open. Select Trust Center > Trust Center Settings. Another dialog box opens. Click Protected View on the left menu. Unmark all options in the Protected View section. Click OK to return to the previous ...
摘要:问题可以复制,有一些可能的解决办法。最有希望的就是使用ActiveWindow.Parent而不是ActiveWorkbook__...