Site logo

Remove empty columns and rows

Script for InDesign. Removes empty rows and columns from all tables in a document, or a single table.
Author: m1b
Version: 2022-09-27

Before

After

There is one parameter you can change: by default, the script processes all tables in the current document.

But you can change it to process only the selected table, like so (assuming that a table is selected):

In this case, if the user selects nothing, the script produces an error; if makes a wrong selection, it silently skips it and does nothing. (There is some space for improvement.)

Click here to download the script.