X
Xavier
Hi,
I've been trying for hours to remove the bottom border of a cell in a Word
table. I must be missing something obvious, so I hope someone can help me:
The code I am using (from MS Access VBA) is the following:
With doc.Tables.Item(1)
' removing stuff that works
With .Cell(tbl.Rows.Count - 2, 4).Range
.Text = "Here !"
.Borders(wdBorderBottom).LineStyle = wdLineStyleNone
.Borders.Enable = True
End With
' removing other stuff that works as well
End With
For that particular cell, I would like to have no bottom border drawn. I am
sure I am referencing the right cell because I am putting the "Here !" text
and it appears as expected.
I also checked that other contiguous cells formatting do not interfere with
this one (e.g. activating the top border of the cell located under the one
for which I want to remove the bootom border).
Any help would be appreciated.
Xavier
I've been trying for hours to remove the bottom border of a cell in a Word
table. I must be missing something obvious, so I hope someone can help me:
The code I am using (from MS Access VBA) is the following:
With doc.Tables.Item(1)
' removing stuff that works
With .Cell(tbl.Rows.Count - 2, 4).Range
.Text = "Here !"
.Borders(wdBorderBottom).LineStyle = wdLineStyleNone
.Borders.Enable = True
End With
' removing other stuff that works as well
End With
For that particular cell, I would like to have no bottom border drawn. I am
sure I am referencing the right cell because I am putting the "Here !" text
and it appears as expected.
I also checked that other contiguous cells formatting do not interfere with
this one (e.g. activating the top border of the cell located under the one
for which I want to remove the bootom border).
Any help would be appreciated.
Xavier