I trying to create a border on excel page
I have added Imports System.Drawing as well as office interopt the excel document creates fine baring the border part
excel.range("B7:B7").select()
With excel.Selection.Borders(xlEdgeBottom)
.LineStyle = linestyle.type.xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
Vs does not like the xlEdgeBottom linestyle.type.xlContinuous and .Weight = xlThin is there a referance I am missing or is my code just wrong the entire document I have created is perfect just those sections I have a problem withAttachment 94305
I have added Imports System.Drawing as well as office interopt the excel document creates fine baring the border part
excel.range("B7:B7").select()
With excel.Selection.Borders(xlEdgeBottom)
.LineStyle = linestyle.type.xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
Vs does not like the xlEdgeBottom linestyle.type.xlContinuous and .Weight = xlThin is there a referance I am missing or is my code just wrong the entire document I have created is perfect just those sections I have a problem withAttachment 94305