ExcelWebRenderer.AllowInExcelOperations Property

Allows operations that open the workbook in Excel.

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(True)> _
Public Property AllowInExcelOperations As Boolean
    Get
    Set
'Usage
Dim instance As ExcelWebRenderer
Dim value As Boolean

value = instance.AllowInExcelOperations

instance.AllowInExcelOperations = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(true)]
public bool AllowInExcelOperations { get; set; }

Property Value

Type: System.Boolean
true if operations that open the workbook in Excel are allowed; otherwise, false. The default is true.

Remarks

All "in Excel" functionalities are disabled if this property is set to false. This property overrides the "in Excel" buttons on the toolbar. When this property is false, the buttons do not appear on the toolbar.

See Also

Reference

ExcelWebRenderer Class

ExcelWebRenderer Members

Microsoft.Office.Excel.WebUI Namespace