Word.Table Otable;
Word.Range Wrdrng = odoc.bookmarks.get_item (Ref OndofDoc) .range;
Otable = odoc.tables.add (WRDRNG, 3, 5, Ref Omissing, Ref Omissing);
Otable.Range.ParagraphFormat.SpaceAfter = 6;
INT R, C;
String strText;
For (r = 1; r <= 3; R )
FOR (c = 1; c <= 5; C )
{
Strtext = "R" R "C" C;
Otable.cell (r, c) .range.text = strText;
}
Otable.Rows [1] .range.Font.bold = 1;
Otable.Rows [1] .range.Font.IAlic = 1;