I am trying to create a table with a header. I want this header to be repeated for each new page that the table takes. How can I do this in C# with Word 2007 Interop?
views:
194answers:
2I already know how to create a document and a table. What I need to know is how to create a table that will create a header for each new page. The problem I see is that once you create the table you must set a fix number of rows and columns... If I decide to write headers it will crash because there is not enough rows in the table for the rest of the data I have to place in the table.
Partial
2009-11-29 22:33:48
+1
A:
Microsoft.Office.Interop.Word.Table table;
/* ... */
table.Rows[1].HeadingFormat = -1;
Partial
2009-11-29 22:44:49