Table AutoFormat problem

P

patrik.svensson

Hi,

I'm writing an app that expands a table by inserting extra rows to it.
After adding the extra rows I would like to apply the autoformat style
that the table originally had. (the rows are not added to the end of
the table).

In Word 2003 I didn't have to do anything special in the code. If the
table had auto formatting that formatting was the same after adding
the rows.

BUT in 2007 I am not able to reapply the auto formatting after adding
the rows.

I've tried using UpdateAutoFormat on the table but that only messes
things up even more.
The AutoFormatType variable is allways set to 1 nomatter how the table
is formatted.

I'm using C# and have tried both the 11 and 12 APIs

PLEASE HELP!!!!

Best Regards,
Patrik Svensson
 

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