for (var i = 0; i < sheetCount; i++) {
var activeSheet = spread.getSheet(i);
activeSheet.tables.all().forEach(function(table){
activeSheet.tables.remove(table,GC.Spread.Sheets.Tables.TableRemoveOptions.keepData | GC.Spread.Sheets.Tables.TableRemo )
})}