This script is part of the Tables collection. See the full collection here.ย
InDesign’s table cells adjust automatically to their content vertically, but not horizontally. This script sizes columns, snapping them to their widest content.
To use the script, click anywhere in a table and run it. The script has no interface.
Version history
Latest update 25 Jan. 2026
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
Quick Wins: InDesign Template Essentials
Use these five Template Essentials collections to speed up your InDesign documen...
Index Topics from Styles or Conditions
Create topics and page references in InDesign documents using InDesign's index f...
Compose Greek with Preview: Enter Mono- and Polytonic Greek
Enter Classical (polytonic) Greek characters using easy-to-remember keystrokes.
