_Workbook.UnprotectSharing(Object) 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.
Turns off protection for sharing and saves the workbook.
public void UnprotectSharing (object SharingPassword);
Public Sub UnprotectSharing (Optional SharingPassword As Object)
Parameters
- SharingPassword
- Object
Optional Object. The workbook password.
Remarks
Use strong passwords that combine upper- and lowercase letters, numbers, and symbols. Weak passwords don't mix these elements. Strong password: Y6dh!et5. Weak password: House27. Use a strong password that you can remember so that you don't have to write it down.