Share via


ReadOnlyRecommended Property

True if the project should be opened with read-only access. Read-only Boolean.

Remarks

To assign a new value to the ReadOnlyRecommended property, use the FileSaveAs method.

Example

The following example displays the recommended access type for the active project.

Sub DisplayAccessType()

    If ActiveProject.ReadOnlyRecommended Then
        MsgBox "Read-only access is recommended for this project."
    ElseIf ActiveProject.ReadOnly Then
        MsgBox "This project may only be opened read-only."
    Else
        MsgBox "Read/write access is allowed for this project."
    End If

End Sub

Applies to | Project Object, Projects Collection Object

See Also | FullName Property | HasPassword Property | Path Property | ReadOnly Property | Saved Property