But it will cause Excel file not opening in protected view as well. So you'll need to turn this feature off.Step 1: Open Excel to click on the File tab, then go to Options.Step 2: Choose the Advanced from several tabs.Step 3: Under the Display section, disable hardware graphics ...
1、文件中包含了不支持ProtectedView模式的宏或ActiveX控件。2、文件中包含了链接到其他文件或外部数据源的内容,而这些链接在ProtectedView模式下无法正常工作。3、文件中包含了自定义的XML标记或自定义的样式,而ProtectedView模式下无法正常解析这些标记或样式。4、文件中包含了使用了新的Excel功能或格式的...
更新:问题找到了,是因为“protected view”模式:“当您打开在Excel中从互联网上下载的2010年工作簿,...
This is meant to prevent you from opening a potentially infected file downloaded from the Internet, sent to you in an Email, etc. Only disable this setting if you are certain that any file you open is a trusted file. You can disable this setting by following the below steps. -Click ...
还可以使用 Application 对象的 ActiveProtectedViewWindow 属性访问代表活动“受保护的视图”窗口的 ProtectedViewWindow 对象。访问ProtectedViewWindow 对象后,使用 Workbook 属性访问表示在“受保护的视图”窗口中打开的工作簿文件的 Workbook 对象。 由于“受保护的视图”窗口旨在保护用户免受潜在恶意代码的侵害,因此通过...
If "the file is corrupt and cannot be opened" prompts when you try to open some of the Excel or Word files on your computer, you can try this solution for a quick fix. Step 1. Find and right-click the file you have difficulty in opening. ...
ProtectedViewWindow 备注 尽量避免在应用程序中使用硬编码的密码。 如果某个过程需要密码,可要求用户提供密码,将其以变量形式进行存储,然后在编码中使用该变量。 示例 下面的代码示例在新的“受保护的视图”窗口中打开工作簿。 VB ProtectedViewWindows.Open FileName:="C:\MyFiles\MyWorkbook.xls" ...
I had this issue with trying to open a .xls file that was saved on my laptop hard drive. Solution number 2 (opening the properties and checking the unblock box) allowed Excel 2016 to open the file. I had been searching for hours trying to figure out why Excel 2016 would not open a ...
PrivateSubApp_ProtectedViewWindowOpen(ByValPvwAsProtectedViewWindow) MsgBox"You are opening the following workbook in Protected View: "_ & Pvw.CaptionEndSub 支援和意見反應 有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱Office VBA 支援與意見反應。
[System.Runtime.InteropServices.Guid("000244CD-0001-0000-C000-000000000046")] public interface IProtectedViewWindow属性 GuidAttribute 属性展开表 _Default 仅供内部使用。 Caption 仅供内部使用。 EnableResize 仅供内部使用。 Height 仅供内部使用。 Left 仅供内部使用。 SourceName 仅供内部使用。 SourcePath 仅供...