Access to the property of the current table
Using the selection, it can be found that whether the selection is in a table or not using :
if Selection.Information(wdWithInTable)
but what if there is no selection. How can I get access to the property of a table (for example) that the cursor is now located in one of its cells? With property I mean to define a range that has that special table.
If the table is know then it is easy using:
Selection.Tables(1). ...
but what if we do not know the number of the table?
thanks
|