01-13-2016 12:31 PM
I am trying to read in an MS Word table that contains 20 rows, each with a differnt number of columns. I iterate on each row then I iterate on each column in the row and read its text. I do not know a way of knowing how to stop iterating on the columns. Is ther a property or a method that tells you the number of columns in a specific row for an MS Word table?
Solved! Go to Solution.
01-13-2016 01:39 PM
@id wrote:
I am trying to read in an MS Word table that contains 20 rows, each with a differnt number of columns. I iterate on each row then I iterate on each column in the row and read its text. I do not know a way of knowing how to stop iterating on the columns. Is ther a property or a method that tells you the number of columns in a specific row for an MS Word table?
For each row use the cells count property. Since it's a row object count correspond to the number of columns.
Ben64
01-13-2016 06:55 PM
Thanks