Setting an Object to a Word Table

E

ExcelMonkey

I have inserted a table:
MyApp.ActiveDocument.Tables.Add Range:=MyApp.Selection.Range, numrows:=5,
numcolumns:=5

How do I pass this table to an object variable using the Set stmt?
Set objTable = MyApp.Table(1) does not work.

Thanks

EM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top