Wherein:
using Excel = Microsoft.Office.Interop.Excel;
I open excel and after I set the color of the first cell to transparent as follows:
xlRange = xlWorkSheet.get_Range("A1");
xlRange.Interior.Color = System.Drawing.Color.Transparent;
The problem is that it puts a white color, and the "borders" disappear. I want to put the option "Without filling", and it does not work.
I also tried this:
xlRange.Interior.Color = System.Drawing.Color.Empty;
but then he changed the cell color to black.
How can i solve this?
source
share