theresatan
Programmer
Hi,
I need to add two tables to a Microsoft word document
Dim objWord
Set objWord=CreateObject("Word.Application")
objWord.Visible = True
Set oDoc = objWord.Documents.Add
Set oTable = oDoc.Tables.Add(oDoc.Range(0,0), 6, 4)
Set oTable2 = oDoc.Tables.Add(oDoc.Range(0,0),5, 4)
It creates table2 inside table1(nested)
How to created two seperated tables.
Thanks!
Theresa
I need to add two tables to a Microsoft word document
Dim objWord
Set objWord=CreateObject("Word.Application")
objWord.Visible = True
Set oDoc = objWord.Documents.Add
Set oTable = oDoc.Tables.Add(oDoc.Range(0,0), 6, 4)
Set oTable2 = oDoc.Tables.Add(oDoc.Range(0,0),5, 4)
It creates table2 inside table1(nested)
How to created two seperated tables.
Thanks!
Theresa