Delete ALL ListObjects

  • Thread starter Thread starter QB
  • Start date Start date
Q

QB

When I import an XML file in Excel 2003 it creates a listobject

'List1'

but in Excel 2007 it creates a listobject

'Table1'

An in my code I unlist the list but since the name changes
(ActiveSheet.ListObjects("Table1").Unlist),..., I don't know how to handle
it. As such, how can I made a more generic code to unlist any and an
listobject found.

Thank you,

QB
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top