I want to create border on a cell and then a left and right border.
I tried this code but it doesnt work:(
objSheet.get_Range("F19").Borders[Excel.XlBordersIndex.xlEdgeLeft].LineStyle = true;
objSheet.get_Range("F19").Borders.Color = Color.Black;
I get the second one you see here. (A border all around) https://i.stack.imgur.com/H4Ujy.png
How can I get this working? Or is a border at the left and right side of a cell not possible from C# to Excel?