vb.net - Incomplete border around range in excel -
i'm using vb.net automate excel spreadsheet generation. i'm drawing border around range, reason text in first columns hides border. there way of sending text "background", z-index in web, border displays correctly?
this relevant line of code:
range = sheet.range("b" + (sectionstart).tostring, "m" + (currentline).tostring) range.borderaround(xllinestyle.xlcontinuous, xlborderweight.xlthin)
i best bet wrap text in column a, problem lot here @ work , solves issue.
try adding:
sheet.range(“a:a″).iswraptext = true
to code, hope helps!
Comments
Post a Comment