ReadOnlyRecommended Property

Applies To

Workbook Object.

Description

True if the workbook was saved as read-only recommended. Read-only.

Remarks

When you open a document that was saved as read-only recommended, Microsoft Excel displays a message recommending that you open the document as read-only.

Use the SaveAs method to change this property.

See Also

Open Method, SaveAs Method.

Example

This example displays a message if the active workbook is saved as read-only recommended.


If ActiveWorkbook.ReadOnlyRecommended = True Then 
    MsgBox "This workbook is saved as read-only recommended"
End If