This script is part of the Tables collection. See the full collection here.ย
This script is part of the Type and Text collection. See the full collection here.ย
The script merges all tables in a selection. To target a whole story, select a text frame. To target some tables, make a text selection that contains those tables you want to merge. The selected tables need not be contiguous, but they must have the same number of columns. I don’t know how the script fares with merged cells.
The script takes into account header and footer rows, but only if they are real header and footer rows. All text attributes are preserved, but cell attributes are not.
Use
Select a text frame to target a whole story or two or more tables on a page or spread and start the script. It has no interface.
Peter Kahrel Script Repository
Hosted as a community service, and with deep appreciation, by CreativePro.com
Scripts by Topic | Script Index
Basic Script Installation and Use
How to Modify or Configure These Scripts
Resources for Scripting and Publishing Automation
About This Repository
Contact Peter Kahrel
Note to users: You run scripts at your own risk: CreativePro and the author accept no liability for anything that may be caused by any of these scripts. Always take the necessary precautions. We encourage you to save backups and test scripts on copies of your documents.
This article was last modified on August 22, 2026
This article was first published on November 3, 2025
Commenting is easier and faster when you're logged in!
Recommended for you
InDesign Scripts I Love
My big mantra when working with software is, “Let it work for you, not the...
Clean Up Spurious White Space
The script removes leading, trailing, and duplicate white space. Optionally chan...
The scope of InDesign styles
Having trouble making sense of how Paragraph, Character, Object, Table and Cell...
