Skip to content
Loading
  • 0
    Hi John, 
     
    You can use free spire.xls dll from nuget to read the cell background color. Below code for your reference:
    1. Workbook workbook = new Workbook();  
    2. workbook.LoadFromFile(@"Input.xlsx");  
    3.   
    4. Worksheet sheet = workbook.Worksheets[0];  
    5.   
    6. Color backColor = sheet.Range["A1"].Style.Color;  
     
    0