Hello
I have posted a problem here: http://social.msdn.microsoft.com/Forums/en-US/worddev/thread/09568dc3-59e2-4b1b-a142-69137efbf713
It applies to all versions up to 2007. I don't have 2010 to test.
I have a table for which Table.Spacing is on (default 0.04 inches, 2.8 points).
Because table spacing is on, each cell now has its own independent (un-collapsed) set of borders.
I am trying to format the borders for each of these separate cells in the table.
For example, I have created a table in Microsoft Word 2007. It is uniform. It is 2 x 2 (i.e. four cells). Table spacing is on (default 0.04 inches, 2.8 points). I set, for example, the top right hand cell borders to red line 3pt.
It works, the first time, using the borders and shading dialog, applying to Cell.
However, if you then revisit the the borders and shading dialog, particularly if you look at the shading tab, the cell loses one or more of the red borders (usually the top border). I.e. by simply re-opening the dialog, I lose borders! Worse, I cannot
then re-set them, without re-setting the whole table.
You cannot even read the borders using VBA. I.e. Cells(1).Borders does not work properly when Table.Spacing > 0.
I am convinced this is a long-standing bug with Word, and have reported it.
I think this is because Word's programmers forgot about this scenario, so that Word behaves as if Table.Spacing were 0, and adjacent borders were merged.
Has anyone any thoughts on this.
Julian