
February 24th, 2003, 07:56 AM
|
|
Junior Member
|
|
Join Date: Feb 2003
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Problem with word tables and visual basic
Hi,
I have a template in word which has a table with two rows
the first has 10 columns and the second has 3
When I write the following in visual basic : oDoc.Tables(1).rows.add
It adds a row but with 3 columns.I want to add a row with 10 columns and the next that will add to have 3 columns,the next to have 10 and the one after that 3.
-----
|10|
-----
| 3 |
-----
|10|
-----
| 3 |
-----
|10|
-----
| 3 |
-----
|10|
-----
| 3 |
-----
...
and so on
Is there any way I can do that without making each row progammatically?
|