Partager via


ProtectedViewWindows.Open Method (PowerPoint)

Open and return a ProtectedViewWindow object from the ProtectedViewWindows collection.

Version Information

Version Added: PowerPoint 2010

Syntax

expression .Open(FileName, ReadPassword, OpenAndRepair)

expression A variable that represents a ProtectedViewWindows object.

Parameters

Name

Required/Optional

Data Type

Description

FileName

Required

String

The name of the file to open.

ReadPassword

Optional

String

The password to use for the protected file.

OpenAndRepair

Optional

[MSOTRISTATE]

Indicates whether to repair the file.

Return Value

ProtectedViewWindow object

See Also

Concepts

ProtectedViewWindows Object Members

ProtectedViewWindows Object