PDA

View Full Version : Reading a table from Word



christheta
06-25-2012, 10:59 PM
I have a table consists of 1 column and a few rows, let's say 5 in this case. (so 5*1 table)

I now have a VBA to read the values from the HIGHLIGHTED table row by row into an array.

My question is:

How could I let the program knows the which cell is the last one which I required additional treatment?
In this case, how can I instruct my VBA to do additional work on cell (1,5)?

Any function that I can call in a word VBA?
thanks.

macropod
06-26-2012, 12:16 AM
Cross-posted at: http://www.excelforum.com/word-programming/840945-reading-a-table-from-word.html (http://www.excelforum.com/word-programming/840945-reading-a-table-from-word.html)
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184

christheta
06-26-2012, 12:35 AM
Sorry for the cross post. Please do not reply to this thread anymore. I will focus the discussion on Excelforum. Thanks all.