|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
copy and paste - as you would manually
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Problem with word tables and visual basic |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|