create a table within a table in vba?

W

William

hi,

in a word doc., i have 3 tables. in vba for word xp, how can i create a table within one of the tables?

thanks,

william.
 
J

Jezebel

The Range argument to the Tables.Add function specifies where the table
should go. To nest the table, use the cell that should contain it:

activedocument.Tables.add Range:=activedocument.Tables(1).Cell(2,3).Range,
NumRows:=2, NumCols:=2



William said:
hi,

in a word doc., i have 3 tables. in vba for word xp, how can i create a
table within one of the tables?
 

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