ListObject::SharePointURL Property
Gets the URL of the SharePoint list for a given ListObject control.
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Accessing this property causes an exception to be thrown if the list is not linked to a SharePoint site.
The following code example publishes a ListObject to a Web site that is running Microsoft Windows SharePoint Services. This example assumes that there is a ListObject named customerListObject on the current worksheet, and that the ListObject is linked to a SharePoint site.
This example is for a document-level customization.
Show: