Skip to content

Latest commit

 

History

History
61 lines (34 loc) · 1.12 KB

PowerPoint.Presentation.ReadOnly.md

File metadata and controls

61 lines (34 loc) · 1.12 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Presentation.ReadOnly property (PowerPoint)
vbapp10.chm583023
vbapp10.chm583023
PowerPoint.Presentation.ReadOnly
d0d69c81-baa0-9b33-5ee3-d8e581508a88
06/08/2017
medium

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

[!includeSupport and feedback]