IWorkbookExtension.ProtectDocument Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called by the Visual Studio Tools for Office runtime to give developers an opportunity to reapply password protection to the workbook in a document-level project after the cached data has been saved.
public:
void ProtectDocument();
public void ProtectDocument ();
abstract member ProtectDocument : unit -> unit
Public Sub ProtectDocument ()
Remarks
For more information about this method, see Microsoft.Office.Tools.Excel.WorkbookBase.ProtectDocument.