Export (0) Print
Expand All

Workbook.UnprotectSharing Method

Office 2007
Turns off protection for sharing and saves the workbook.

Syntax

expression.UnprotectSharing(SharingPassword)

expression   A variable that represents a Workbook object.

Parameters

NameRequired/OptionalData TypeDescription
SharingPasswordOptionalVariantThe workbook password.

Example

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

Visual Basic for Applications
ActiveWorkbook.UnprotectSharing



Community Additions

ADD
Show:
© 2014 Microsoft