ExcelWebRenderer.WorkbookUri Property
Gets or sets the location of the workbook file to open.
Namespace: Microsoft.Office.Excel.WebUI
Assembly: Microsoft.Office.Excel.WebUI (in Microsoft.Office.Excel.WebUI.dll)
Syntax
'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<WebBrowsableAttribute(True)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<ManagedLinkAttribute(Fixup := True)> _
Public Property WorkbookUri As String
Get
Set
'Usage
Dim instance As ExcelWebRenderer
Dim value As String
value = instance.WorkbookUri
instance.WorkbookUri = value
[WebPartStorageAttribute(Storage.Shared)]
[WebBrowsableAttribute(true)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[ManagedLinkAttribute(Fixup = true)]
public string WorkbookUri { get; set; }
Property Value
Type: System.String
A URL string.
Remarks
The location of the workbook that you want to display. The workbook must be from a trusted location.