Thanks for your comments but unfortunately
For each TRow in atable.Rows
Set acell = TRow.Cells(col)
raises an error when there are vertically combined cells.
Since the Uniform property has bugs I guess that I will have to continue using the slow way that at least works for all table...
The Word 2010 Developer Reference defines the Table.Uniform Property as:
"True if all the rows in a table have the same number of columns. Read-only Boolean"
Which means that ShipVought’s third table should return True.
Try this:
Create a table using Insert Table and check its Uniform property...
I stand by my statement that the Uniform property does not always work. It seems to go astray if the document contains several tables, some uniform and some with merged cells. At first use on a uniform table it gives a True value but if other tables are processed then on returning to the same...
I am trying to use the Table.Uniform property to determine if a table has merged or split cells.
The problem is that with some tables the Uniform property gives a "False" value even though the table is uniform. With such tables, statements such as Selection.Tables(1).Rows(n).Cells.Count work...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.