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
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