Hi,
I need a code to copy the information from cells in a Word table, to Excel.
I don't know if it helps, but the cells have bookmarks.
Is it possible?
Thanks
Ricardo Rodrigues
Hi,
I need a code to copy the information from cells in a Word table, to Excel.
I don't know if it helps, but the cells have bookmarks.
Is it possible?
Thanks
Ricardo Rodrigues
Use something like:
ActiveDocument.Tables(x).Cell(y, z).Select
where x is table number, y is row number of table, and z is column
number of table. Be aware that, for a non-empty Word cell, the
selection contains the "cell terminator." I just remove the last two
characters. You could also use the statement:
Selection.MoveLeft unit:=wdCharacter, Count:=1, Extend:=True
to get rid of the "cell terminator."
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks