Compartilhar via


Workbook.ReadOnlyRecommended Property

Definition

Gets or sets a value that indicates whether the workbook was saved as read-only recommended.

public:
 property bool ReadOnlyRecommended { bool get(); void set(bool value); };
public bool ReadOnlyRecommended { get; set; }
member this.ReadOnlyRecommended : bool with get, set
Public Property ReadOnlyRecommended As Boolean

Property Value

true if the workbook was saved as read-only recommended; otherwise, false.

Remarks

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

Use the SaveAs method to change this property.

Applies to