EPPlus how to set default cell border colour

T.Zacks 3,986 Reputation points

See my picture and there is a cell A3 which has no top border. when i set top border but still getting no border. so curious to know how to set top border with default color.


ws.Cells["A3"].Style.Border.Top.Style = ExcelBorderStyle.Thin;  

here i set Color.Transparent. i like to know what i need to set default border colour ?

I have to set default border colour for top border for A3 cell. please suggest me something.


An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,467 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Taylor 49,701 Reputation points

    This question is really related to a third party library and not MS products or C#. I think you should post it in Github where the owners of the software can respond.

    0 comments No comments