VBA find or name a Table
I would like to know how to find or name a table using VBA, either method will solve my problem. By naming a table I mean that I can access a table called "Table1" by something like this:
celltext = ActiveDocument.Tables("Table1").Cell(1, 1).Range.Text
I can't simply use the index of the table because it may change depending if more tables are added before the one I want to access.
Thanks.
|