Table of contents
TOC
Collapse the table of content
Expand the table of content

Presentation.ReadOnly Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns whether the specified presentation is read-only. Read-only.

Syntax

expression. ReadOnly

expression A variable that represents a Presentation object.

Return Value

MsoTriState

Remarks

The value of the ReadOnly property can be one of these MsoTriState constants.

ConstantDescription
msoFalseThe specified presentation is not read-only.
msoTrueThe specified presentation is read-only.

Example

If the active presentation is read-only, this example saves it as newfile.ppt.

With Application.ActivePresentation

    If .ReadOnly Then .SaveAs FileName:="newfile"

End With

See also

Concepts

Presentation Object

© 2017 Microsoft