Método ListObject. Unlist (Excel)ListObject.Unlist method (Excel)
Remove a funcionalidade da lista de um objeto ListObject.Removes the list functionality from a ListObject object. Depois de usar esse método, o intervalo de células que compõem a lista será um intervalo regular de dados.After you use this method, the range of cells that made up the list will be a regular range of data.
SintaxeSyntax
expressão. Unlistexpression.Unlist
expressão Uma variável que representa um objeto ListObject .expression A variable that represents a ListObject object.
ComentáriosRemarks
A execução desse método deixa os dados da célula, a formatação e as fórmulas na planilha.Running this method leaves the cell data, formatting, and formulas on the worksheet. A linha Total também é mantida intacta.The Total row is also left intact. Este método remove qualquer link para um site do Microsoft SharePoint Foundation.This method removes any link to a Microsoft SharePoint Foundation site. O AutoFiltro Também é removido da lista.AutoFilter is also removed from the list.
ExemploExample
O exemplo a seguir remove os recursos da lista de uma lista em uma planilha.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)
objListObj.Unlist
End Sub
Suporte e comentáriosSupport and feedback
Tem dúvidas ou quer enviar comentários sobre o VBA para Office ou sobre esta documentação?Have questions or feedback about Office VBA or this documentation? Confira Suporte e comentários sobre o VBA para Office a fim de obter orientação sobre as maneiras pelas quais você pode receber suporte e fornecer comentários.Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.