Presentation.ReadOnly property (PowerPoint)

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.

Constant Description
msoFalse The specified presentation is not read-only.
msoTrue The 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

Presentation 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.