Share via


Workbook.UnprotectSharing Method (Excel)

Turns off protection for sharing and saves the workbook.

Syntax

.UnprotectSharing(SharingPassword)

A variable that represents a Workbook object.

Parameters

Name

Required/Optional

Data Type

Description

SharingPassword

선택

Variant

The workbook password.

Example

This example turns off protection for sharing and saves the active workbook.

ActiveWorkbook.UnprotectSharing

참고 항목

개념

Workbook Object

Workbook Object Members