Word VBA Tables
Hello,
Im a new student and i am learning vba now, so sorry for my nooby code.
I am writig a code that converts a word file into an xml file.
at one point i have to analyse a table and add the cells to the xml file. at the beginning ist was enough to use the following code to go to next cell and work with selection:
"Selection.MoveRight Unit:=wdCell"
with
"Selection.MoveRight Unit:=wdCell
If selection = "" then (stop analysing this table)"
i checked if this was the last cell.
now my problem is, if the table has an empty cell in the middle, for example, the code does not analyse the rest of the table.
i think it would be helpfull if i can get the information how many cells and rows the table has.
I hope you have an other idea and a minute time for me,
Thanks
|