Share via


ExcelWebRenderer.AllowInExcelOperations Property

Allows operations that open the workbook in Microsoft Office Excel 2007.

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

Syntax

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

value = instance.AllowInExcelOperations

instance.AllowInExcelOperations = value
[WebBrowsableAttribute(true)]
[WebPartStorageAttribute(Storage.Shared)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
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