ListObject.SharePointURL Property
Excel Developer Reference |
Returns a String representing the URL of the SharePoint list for a given ListObject object. Read-only String.
Syntax
expression.SharePointURL
expression A variable that represents a ListObject object.
Remarks
Accessing this property generates a run-time error if the list is not linked to a SharePoint site.
Example
The following example sets elements of the
Target
parameter of the Publish method to push the ListObject object to a SharePoint site. The code sample uses the SharePointURL property to assign the URL to the array and the Name property to assign the name of the list. The information in the array is then passed to the SharePoint site using the Publish method.
Visual Basic for Applications |
---|
|
See Also