Inserting table rows with varying column widths

P

Paul Sampson

Hello,

I've been using the following syntax to insert rows into Word tables from
VS.NET (C#):

object newRow = wordTable.Rows.Item(2);
wordTable.Rows.Add(ref newRow); // insert row before 2nd row in table,
with the same formatting

My questions is, how do copy this same row (same columns, formatting etc)
and insert it somewhere ELSE in the table, say 5 lines down?

Obviously the rows in my table have different numbers of columns, column
widths, etc. This is not a simple 3x4 grid!

Many thanks,
Paul
 

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