Thread
:
Shorten/refine recorded vba code
View Single Post
08-11-2023, 06:03 AM
Italophile
Windows 11
Office 2021
Expert
Join Date: Mar 2022
Posts: 542
If you add your own table style to the document template instead of using Table Grid you can set all the properties just by applying the style.
You can shorten your code by deleting all of the duplicate lines. Properties only need to be set once.
Italophile
View Public Profile
Find all posts by Italophile