ProtectedViewWindows.Open method (PowerPoint)

Open and return a ProtectedViewWindow object from the ProtectedViewWindows collection.

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

ProtectedViewWindows Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.