How to obtain a table ID (Word automation)
Posted on 2003-02-27
I have a bookmark inside a table in a Word document. I need to access directly from VBA to the cells of that table. I would like to do with:
But, how can I know the "TableID" which a bookmark is in?
Actually, I've found to modify cells more or less with:
mywordobj.Selection.Cells(1).Range.Text = "<some text>"
But I don't want to do that way, because when the cell is updated, I lose the selection and I have to start again selecting the row, etc.
If you have any suggestions to access table cells in a different manner, they will be welcome :-)