5 Replies Latest reply: Mar 10, 2011 4:00 AM by Jordi Perez RSS

    API QUESTION DROP TABLE

      Dear all,

       

      I have a qvw file only for reload and execute macros.

       

      After execute all I want to drop all tables.

       

      I have that sub but i don't know how ho drop tables:

       

       

      Sub Droptables

      set doc=ActiveDocument

      for i=0 to doc.GetTableCount-1

      name = doc.GetTableName(i)

      'doc.deletetable(name)

       

      next

      end sub