April 2006
Beginner
1114 pages
98h 16m
English
When you delete a shared list on an Excel worksheet, the SharePoint list remains on the server. To delete the SharePoint list from Excel, use the DeleteList method as shown here:
Sub DeleteSharedList( )
' Requires web reference to SharePoint Lists.asmx
Dim lws As New clsws_Lists
lws.wsm_DeleteList ("Test List")
End SubIf you delete a SharePoint list but not the worksheet list that shares it, you will get an error when you attempt to refresh or update the worksheet list. You can avoid this by unlinking the worksheet list after deleting the list from the server.
Read now
Unlock full access