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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can i write two tables in a word doc in vbscript??

Status
Not open for further replies.

diembi

Programmer
Sep 22, 2001
238
ES
Hello!!
When i add two tables objects in a word doc from vbscript the second table added is writted in the first cell of the first table added. I use the following code:

Set oTable = oDoc.Tables.Add(oDoc.Range(0,0), 5, 5)
Set oTable2 = oDoc.Tables.Add(oDoc.Range(0,0), 5, 5)

Can anybody give me the code for add two tables (the second after the first)??

Thanks people!!!!!
 
danielmontejo,

Just have posted an illustration for you previous thread329-138525 without seeing your present reposting. Take a look there.

regards - tsuji
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top