P
Polo
Hi, i've developed a VB.NET routine to draw a table in word. (50
columns x 15 rows)
after that, i set the shape of alternate colum with a color.
but after 15-20 colums the color change!
this is the routin to color the colunms
Dim Righe As Integer
Righe = Selection.Tables(1).Columns.Count - 1
For i = 1 To Righe
If i Mod 2 = 0 Then
With Selection.Tables(1).Columns(i)
.Shading.Texture = Word.WdTextureIndex.wdTexture50Percent
.Shading.ForegroundPatternColor = 33023
End With
End If
Next
at this point the color is ok!
but now i write text in every cell and after 20-30 columns the color in
background start changing.....i don't know why!
in a lot of cell the text is
Word.WdTextOrientation.wdTextOrientationUpward
and in other is Word.WdTextOrientation.wdTextOrientationHorizontal
Help please!
Ciao
Polo
columns x 15 rows)
after that, i set the shape of alternate colum with a color.
but after 15-20 colums the color change!
this is the routin to color the colunms
Dim Righe As Integer
Righe = Selection.Tables(1).Columns.Count - 1
For i = 1 To Righe
If i Mod 2 = 0 Then
With Selection.Tables(1).Columns(i)
.Shading.Texture = Word.WdTextureIndex.wdTexture50Percent
.Shading.ForegroundPatternColor = 33023
End With
End If
Next
at this point the color is ok!
but now i write text in every cell and after 20-30 columns the color in
background start changing.....i don't know why!
in a lot of cell the text is
Word.WdTextOrientation.wdTextOrientationUpward
and in other is Word.WdTextOrientation.wdTextOrientationHorizontal
Help please!
Ciao
Polo