True Title Case for First Row of All Tables
I added that line and thought it worked, but you can see that it doesn't - in the attached test file, I've entered several tables with text in both rows. If you run your code ("FormatAllTablesNew"), you will see that the text in the second row that matches the array list gets lowercased, while this doesn't happen when you run my original code ("FormatAllTablesOrig"). All the new line you gave me seemed to do is slow it down (previous versions of your code ran much faster than mine). Therefore, I've been running it in a template file for a limited number of tables, then copying the formatted tables to the main document (which is almost 190 pages long).
I am okay with using my code; if you have a solution to this issue and it works in the attached, I'd be happy to test it again.
|