Share via


_Workbook.ReadOnlyRecommended Property

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

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property ReadOnlyRecommended As Boolean
    Get
    Set
'Usage
Dim instance As _Workbook
Dim value As Boolean

value = instance.ReadOnlyRecommended

instance.ReadOnlyRecommended = value
bool ReadOnlyRecommended { get; set; }

Property Value

Type: System.Boolean

Remarks

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

Use the SaveAs method to change this property.

See Also

Reference

_Workbook Interface

_Workbook Members

Microsoft.Office.Interop.Excel Namespace