Delete all the vertical lines in a file with multiple tables (Script)
Please, need a help with this script as we have hundred of tables.
And make a total substitution.
Thanks
Please, need a help with this script as we have hundred of tables.
And make a total substitution.
Thanks
That looks extremely easy to make with Table Styles. Have you used the Table Styles or Cell Styles panels at all?
... if the answer is "no" then all of your cells have No Style and your tables have Basic Table style applied. If you make a Cell Style with your horizontal borders only, and then a Table Style that specified your new Cell Style in the "Body" dropdown.

... if you do have some Table Styles in use, you might have to "Apply Table Style, Clear Overrides."
It's possible to do this by directly applying Cell Styles, but it takes more clicks
It's possible to do this with scripting, by either automating the cell-border stuff, or by automating the application of table and cell styles with JS, but to be frank, I rarely encounter people using Table Styles at all, so when they say "Augh, how am I to do this to all of my hundreds of tables?" my typical response is "Well, all of your tables all share the Basic Table style, right? Because you haven't opened that panel since you were first learning ID, right?" and the answer has been 100% "You're right, Joel, I know where that panel is and I have never used it for anything."
(One day I will encounter another user of Table Styles - I mean, one that's not already a regular poster here - but I'm not holding my breath.)
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.