View Single Post
 
Old 05-26-2011, 01:19 AM
b0x4it b0x4it is offline Windows 7 32bit Office 2010 32bit
Advanced Beginner
 
Join Date: May 2011
Posts: 95
b0x4it is on a distinguished road
Default 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
Reply With Quote