Keith McElroy
asked on
Microsoft Word Table Automation - column widths not consistent - VB Script
Screenshot: https://www.screencast.com/t/andGYDsex notice one table is less wide than the other
The following code removes an unwanted column
for each trw in tbl.rows
if trw.cells.count > 6 then
trw.cells(7).Delete
end if
next
The result is randomly reducing some of the tables widths while not reducing the widths of others.
How can I make this consistent?
The following code removes an unwanted column
for each trw in tbl.rows
if trw.cells.count > 6 then
trw.cells(7).Delete
end if
next
The result is randomly reducing some of the tables widths while not reducing the widths of others.
How can I make this consistent?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.