Copy link to clipboard
Copied
I have a monster file that includes hundreds of linked tables (this is not my choice, but I have to make it work!) Every time the tables files are updated it breaks the formatting and I have to manually change the table style back. Is there any way to set the default table style in preferences or to select and change the table style with find/replace? I can't find a way around imported tables being set to [No Table Style] or a way to set up a default table style for the whole document.
I don't understand why we can't edit the [No Table Style] option like you can with default paragraph styles -
Is there a script that might help? I have more than one table style, but the majority of them need to be the same and this feels like a basic thing I should be able to set up. I would love it if there was something simple I was missing that would fix the issue!
app.activeDocument.stories.everyItem().tables.everyItem().appliedTableStyle = "your default style";
Copy link to clipboard
Copied
app.activeDocument.stories.everyItem().tables.everyItem().appliedTableStyle = "your default style";
Copy link to clipboard
Copied
Thank you so much! That worked really well! I'll still have to check through to make sure nothing breaks, but this will save me so much time.
Copy link to clipboard
Copied
If you work on Windows you could use my ID-Tasker tool - not free, but can save you a lot of time. You can load all tables from your document, filter them - select ones that you want to process - then apply specific Table Style. You can also style specific Cells/Columns/Rows based on their contents - text, numerical value or formatting. And once you create a Task - you can use it again on multiple files.
Copy link to clipboard
Copied
Thanks Robert - I'm on a Mac, but your tool looks really interesting! I use plenty of actions in Photoshop and have often wished for a similar function in InDesign, I can use scripts but writing them is a bit beyond me I'm afraid.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now