Jump to content


John Cohoon

Member Since 16 Oct 2007
Offline Last Active Oct 19 2007 03:26 PM

Posts I've Made

In Topic: Use of TABLE and CELL features

19 October 2007 - 03:28 PM

Well, my code is no longer generating an error, and the table is being generated. However, although I know that my array of Cells objects is correct (I can validate that through debugging), when it builds the table in the RTF file, it is always missing the first row and the first column of my array.

Thouhts?

John

In Topic: Use of TABLE and CELL features

18 October 2007 - 03:40 PM

Worked like a charm.I had exactly what you had (of course my table was building with different data). One thing that mine was failing on was the .InsertTable method. I was adding the cell array as the argument into the method call, and not declaring an Object, assigning it the value of my array, then passing that Object into the method:

Old:
objPage.InsertTable(objCells)

New
Dim objIns as Object = objCells
objPage.InsertTable(objIns)

Thanks a lot for your help!

John