object model for table in table

A

AlexT.

Folks

I'm having a hard time to figure out the object model / syntax to
access a table within a table (i.e. a table embedded within a "master"
table cell).

Any example code / pointer would be much appreciated.

Thanks

--alexT
 
H

Helmut Weber

Hi Alex,
I'm having a hard time to figure out the object model / syntax to
access a table within a table (i.e. a table embedded within a "master"
table cell).

I've never heard of a table inside a table as a special object.
It is just a table.

You can access it like that:

Dim ImbeddedTable As Table
Set ImbeddedTable = ActiveDocument.Tables(1).Tables(1)
ImbeddedTable.Select

Which selects the first table
imbedded in the first table in the document.

--

Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Vista Small Business, Office XP
 
A

AlexT.

Hi Alex,


I've never heard of a table inside a table as a special object.
It is just a table.

You can access it like that:

Dim ImbeddedTable As Table
Set ImbeddedTable = ActiveDocument.Tables(1).Tables(1)
ImbeddedTable.Select

Which selects the first table
imbedded in the first table in the document.

--

ImbeddedTable that was what I was looking for :)

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top