title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Workbook.UnprotectSharing method (Excel) |
vbaxl10.chm199158 |
|
|
edce1744-0906-4b4e-8b98-5d1125047bff |
05/29/2019 |
medium |
Turns off protection for sharing and saves the workbook.
expression.UnprotectSharing (SharingPassword)
expression A variable that represents a Workbook object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
SharingPassword | Optional | Variant | The workbook password. |
This example turns off protection for sharing and saves the active workbook.
ActiveWorkbook.UnprotectSharing
[!includeSupport and feedback]