Hi,
Try this.
var doc = app.activeDocument, _tables = doc.stories.everyItem().tables.everyItem().getElements(); for(var i =0;i<_tables.length;i++) { var _rows = _tables[i].rows; for(var j =0;j<_rows.length;j++) { var _cells = _rows[j].cells; for(var k =0;k<_cells.length;k++) { //alert(_cells[k]) if(_cells[k].contents == "") { _rows[j].remove(); } } } }
Regards,
Chinna