Andreas Hermle
asked on
Apply a user-defined style to all paragraphs in several tables
Dear Experts:
I got hundreds of tables in the current document.
I would like to apply the following manual formatting properties to all paragraphs in all tables using a VBA macro:
Space before: 6 pt
Space after: 6 pt
Line spacing: 1.0
Or alternatively I would like to apply my user-defined paragraph style (MyStyle) containing all these properties to all paragraphs of all the tables in my current document.
Help is much appreciated.
Thank you very much in advance.
Regards, Andreas
I got hundreds of tables in the current document.
I would like to apply the following manual formatting properties to all paragraphs in all tables using a VBA macro:
Space before: 6 pt
Space after: 6 pt
Line spacing: 1.0
Or alternatively I would like to apply my user-defined paragraph style (MyStyle) containing all these properties to all paragraphs of all the tables in my current document.
Help is much appreciated.
Thank you very much in advance.
Regards, Andreas
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Chris,
thank you very much for your great help. Works as desired.
Regards, Andreas
thank you very much for your great help. Works as desired.
Regards, Andreas
ASKER
works great! Thank you very much for your great support. If I wanted to apply a custom-defined paragraph style (MyCustomStyle) to all the tables. How would the code change?
Would be great if you could provide me with this alternative as well.
Thank you so much.
Regards, Andreas