Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word/VBA

Status
Not open for further replies.

Fursten

Programmer
Dec 27, 2000
403
PT
Hi there,

How can I get the number of columns of a Word table, knowing that this table has some columns and rows Merges ?

I use the following comand:

With Me.oWord.GetTableByBookMark("test")
.Range.Columns.Count
end with

But this comand only returns the columns number of a whole table, but what if i need to get the number of comumns of a specific row, since the entire table is full of Merges ?

Even if I specify a row, it always returns me the same number...!!!!!!!

Many thanks


Sergio N. Oliveira
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top