View Single Post
 
Old 09-21-2018, 01:15 AM
Kebap Kebap is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Sep 2018
Posts: 3
Kebap is on a distinguished road
Default

Thanks for the prompt reply, macropod!

When I try your solution, I do not find any difference in effect. See screenshots for comparison: Before, After

However I will try and incorporate your suggestions in my main script to see if it will make any difference there.

I like how you do not operate with Selection and Move at all, but instead name the absolute coordinates of the cells.

Would you have any suggestion on how to handle multiple lines though? The script I showed will be used to add multiple lines to the same table, and it will not know if there exist lines before, or how many in total. In effect I have 3 scripts: One to start the table and add headlines, one to add a new line (the first and any additional), and another one to end the table and continue with normal text. They will all be called from external source and for some reason, when all is said and done, the table columns do still not have correct width and document is saved in wrong state.
Reply With Quote