ListObject.Unlist method (Excel)

Removes the list functionality from a ListObject object. After you use this method, the range of cells that made up the list will be a regular range of data.



expression A variable that represents a ListObject object.


Running this method leaves the cell data, formatting, and formulas on the worksheet. The Total row is also left intact. This method removes any link to a Microsoft SharePoint Foundation site. AutoFilter is also removed from the list.


The following example removes the list features from a list on a worksheet.

Sub DeList() 
 Dim wrksht As Worksheet 
 Dim objListObj As ListObject 
 Set wrksht = ActiveWorkbook.Worksheets("Sheet1") 
 Set objListObj = wrksht.ListObjects(1) 
End Sub

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.