BookmarkSubscribe
Choose Language Hide Translation Bar
jmpandvba
Community Trekker

script for deleting all columns and rows in a data table

How can I select all data in a data table (all rows and columns) and delete it through a script? 

0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions
cwillden
Super User

Re: script for deleting all columns and rows in a data table

dt = Current Data Table();
dt << Select All Rows() << Delete Rows;
-- Cameron Willden
1 REPLY 1
cwillden
Super User

Re: script for deleting all columns and rows in a data table

dt = Current Data Table();
dt << Select All Rows() << Delete Rows;
-- Cameron Willden