I am currently trying to find a way using VSTO in C# for Excel, to draw a diagonal line in a cell using C# code. But i can’t find anyone on the web who even tried to do this.
Does anyone know how to achieve this ?
Thank you
(Excuse me for my bad english but it’s not my language)
You can manipulate borders as follows:
The
XlBordersIndexenumeration specifies which border you want to update: