Protecting a Document by Using an Application-Level Add-InTo protect a document by using an application-level add-inCall the Protect method of the Microsoft.Office.Interop.Word.Document that you want to protect. The following code example protects the active document. To use this code example...
Step 1:Open the Word document that you want to secure with a password. Then, selectFile, followed byInfothenProtect Document. Digital Trends Step 2:You can choose a few options to protect the file, from making it Read Only, so that it can no longer be edited, or you can control the ...
Document.Protect 方法 (Word) Learn 发现 产品文档 开发语言 主题 登录 Visual Basic for Applications 按产品浏览 VBA 语言参考 Office 库参考 本文原文为英文,已针对你所在市场进行了翻译。 你对所用语言的质量的满意度如何? 属性 Documents 对象 DownBars 对象...
If you lose or forget your password, Word won't be able to recover it for you. Be sure to keep the a copy of the password in a safe place or create a strong password that you’ll remember. ClickOK. Protect your document before sending it out for review ...
Plus, you have savvy features to protect your Microsoft Word documents using the Zero Day cloud scanning, a remote firewall, or system tune-up optimization. An additional benefit is that you can schedule system scans whenever it’s needed, so your files and documents are always safe. ...
If you lose or forget your document password, Word won't be able to recover it for you. It may be possible for your IT admins to help with password recovery, but only if they had implemented the DocRecrypt toolbeforeyou created the document password. ...
private void DocumentProtect(ref object securelyStoredPassword) { this.Protect(Word.WdProtectionType.wdAllowOnlyComments, ref missing, ref securelyStoredPassword, ref missing, ref missing); } 注解 当文档受到保护时,用户只能进行有限的更改,例如添加批注、进行修订或完成表单。 如果使用此方法时文档已受到保...
public void Protect (Microsoft.Office.Interop.Word.WdProtectionType Type, ref object NoReset, ref object Password, ref object UseIRM, ref object EnforceStyleLock); 参数 Type WdProtectionType 必填。 指定文档的保护类型。 WdProtectionType. NoReset Object 可选对象。 如果为 False ,则将表单字段重置为...
Option 2: Repair the Damaged Word Document If your MS Word is freezing only because of damaged Word files, you can choose to repair the particular Word file. Step 1: Open MS Word in Safe Mode as this article have mentioned above. Then go toOpen>Browse. ...
用户模拟保护: 使用户能够保护 (EnableTargetedUserProtection 和TargetedUsersToProtect) 未选择 ($false ,无) 所选($true 和<用户>) 列表 所选($true 和<用户>) 列表 建议将用户 (邮件发件人) 添加到关键角色中。 在内部,受保护的发件人可能是你的 CEO、CFO 和其他高级领导人。 在外部,受保...