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
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(True)> _
<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
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(true)]
[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.

See Also

Reference

ExcelWebRenderer Class

ExcelWebRenderer Members

Microsoft.Office.Excel.WebUI Namespace