Thank you. I know it wants to work, but, Dag nabbit, now I'm getting the attached Run-time error 5991.
I've researched it and can't figure out what code to put where.
What I've seen looks something like this:
Table table=Globals.ThisDocument.Tables[1];
Range range = table.Range;
for (int i = 1; i <= range.Cells.Count; i++)
{
if(range.Cells[i].RowIndex == table.Rows.Count)
range.Cells[i].Range.Text = range.Cells[i].RowIndex + ":" + range.Cells[i].ColumnIndex;
}
Any thoughts?
Thanks so much,
David
|