Cells.Merge with its immediatly bottom cell

S

Sparkle

How can I merge a cell with its immediatly bottom cell (I am writing a Word
2003 Automation Add-in in c#)

object wdLine=Word.WdUnits.wdLine;
object toRowCount=2

tableCell = myTable.Rows[1].Cells[1];
Word.Range rang=tableCell.Range;
rang.Move(ref wdLine, ref toRowCount);
rang.Cells.Merge();

This gives a Bad Parameter.


Any Help?
Thanks
 
Top