Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.tables
|
|||
|
|||
How to copy/apply column formattings?
Hi,
Here's a scenario that I'm trying to achieve, and need help with: When the user clicks on a button on the ribbon bar, a table is added to the document (retrieved from a database). When the user clicks the button again, I want to remove the old table, and create a new one in its place. So far, I've been able to retain the style of the table only, using table.get_Style(), and reapplying it using newTable.set_Style(). However, I've no idea how to retain any formatting/alignments for each column (Eg, Name column = left aligned, Salary column = right aligned and bolded, etc). Please help. Thanks Josh |
#2
Posted to microsoft.public.word.tables
|
|||
|
|||
How to copy/apply column formattings?
Oops, think I posted in the general thread, but anyway, it is still
word-tables-related. I'm trying to achieve what I mentioned previously using a Word 2007 AddIn. Thanks! "JsJ_Slim" wrote: Hi, Here's a scenario that I'm trying to achieve, and need help with: When the user clicks on a button on the ribbon bar, a table is added to the document (retrieved from a database). When the user clicks the button again, I want to remove the old table, and create a new one in its place. So far, I've been able to retain the style of the table only, using table.get_Style(), and reapplying it using newTable.set_Style(). However, I've no idea how to retain any formatting/alignments for each column (Eg, Name column = left aligned, Salary column = right aligned and bolded, etc). Please help. Thanks Josh |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I copy a 2 column table without it being corrupted? | Microsoft Word Help | |||
Copying a column does not copy shading | Tables | |||
Can't Copy Column of Selected Text | Microsoft Word Help | |||
Word 2003 changes formattings of para styles in table | Tables | |||
Delete old style and formattings | New Users |