Share via


WorkbookBase.UnprotectSharing(Object) Method

Definition

Turns off protection for sharing and saves the workbook.

public void UnprotectSharing (object sharingPassword);
member this.UnprotectSharing : obj -> unit
Public Sub UnprotectSharing (Optional sharingPassword As Object)

Parameters

sharingPassword
Object

The workbook password.

Remarks

Use strong passwords that combine uppercase and lowercase letters, numbers, and symbols. Weak passwords do not mix these elements. Strong password: Y6dh!et5. Weak password: House27. Use a strong password that you can remember so that you do not have to write it down.

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

Applies to